From a8ce5e560aacc55b4c1d44827dbe2f0b941cb509 Mon Sep 17 00:00:00 2001 From: Duncan Mak Date: Sat, 15 Mar 2003 22:58:57 +0000 Subject: [PATCH] Update docs for Gdk.Color and also Gtk.Application. The Makefile is updated to always use the updater instead of the generator. svn path=/trunk/gtk-sharp/; revision=12569 --- doc/en/Gdk/Color.xml | 2 +- doc/en/Gtk/Application.xml | 134 ++++++++++++++++++++++++------------- doc/makefile | 17 ++--- 3 files changed, 96 insertions(+), 57 deletions(-) diff --git a/doc/en/Gdk/Color.xml b/doc/en/Gdk/Color.xml index 5be3e8e8c..6e74455a4 100644 --- a/doc/en/Gdk/Color.xml +++ b/doc/en/Gdk/Color.xml @@ -162,7 +162,7 @@ - + Method System.Int32 diff --git a/doc/en/Gtk/Application.xml b/doc/en/Gtk/Application.xml index 0db52fb4d..37b31c15c 100644 --- a/doc/en/Gtk/Application.xml +++ b/doc/en/Gtk/Application.xml @@ -34,10 +34,10 @@ Quits the current main loop - + Makes the innermost invocation of the main loop return when it regains control. - + @@ -48,21 +48,19 @@ - + - + Runs a single iteration of the mainloop. If no events are waiting to be processed GTK+ will block until the next - event is noticed. If you don't want to block look at or check if - any events are pending with first. + event is noticed. If you don't want to block look at or check if + any events are pending with first. - + - + Method System.Void @@ -71,18 +69,17 @@ - + A boolean value, whether the iteration should block or not - - Runs a single iteration of the mainloop. If is true, then if no events are + + Runs a single iteration of the mainloop. If is true, then if no events are waiting to be processed GTK+ will block until the next - event is noticed; If is false, + event is noticed; If is false, then it if no events are waiting to be processed Gtk+ the routine will return immediately. - + @@ -96,13 +93,13 @@ Whether there are events on the queue true if events are available to be processed, false otherwise - + Checks if any events are pending. This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation. - - + + void LongComputation () { while (!done){ @@ -114,8 +111,8 @@ } } - - + + @@ -128,17 +125,16 @@ Runs the main loop - - Runs the main loop until is called. You can nest - calls to . In that - case will make the + + Runs the main loop until is called. You can nest + calls to . In that + case will make the innermost invocation of the main loop return. - + - + Method @@ -151,25 +147,25 @@ Initializes GTK+ for operation. The arguments to pass to the toolkit - + Call this function before using any other GTK+ functions in your GUI applications. It will initialize everything needed to operate the toolkit. - + This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to - call instead. + call instead. - + The args values will be modified after Gtk has removed the command line options that it handles itself. - + - + Method @@ -184,25 +180,24 @@ windowing system can not be initilized. The arguments to pass to the toolkit - + You use this call to initialize GTK+ for your GUI applications. This method will allow your application to be both GUI/text. A true return value means that the toolkit was initialized, a false value means that the toolkit could not be initialized. If you do not want to - do dual GUI/text applications, you can use instead. + do dual GUI/text applications, you can use instead. - + This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to - call instead. + call instead. - + - + Constructor @@ -219,27 +214,70 @@ System.Void - + Initializes GTK+ for operation. - + Call this function before using any other GTK+ functions in your GUI applications. It will initialize everything needed to operate the toolkit. - + This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to - call instead. + call instead. - + If you want to pass arguments from the command line use - the + the method instead. - + + + + + + Property + + System.Object + + + To be added + To be added: an object of type 'object' + To be added + + + + + Method + + System.Boolean + + + + + + To be added + To be added: an object of type 'String[]&' + To be added: an object of type 'bool' + To be added + + + + + Method + + System.Void + + + + + + To be added + To be added: an object of type 'String[]&' + To be added diff --git a/doc/makefile b/doc/makefile index c8f03d415..87c62e8a9 100644 --- a/doc/makefile +++ b/doc/makefile @@ -2,8 +2,9 @@ LIBDIR=/usr/lib BROWSER=../../monodoc/browser/browser.exe ASSEMBLER=../../monodoc/browser/assembler.exe GENERATOR=../../monodoc/generator/generator.exe +UPDATER=../../monodoc/updater/updater.exe -all: tree +all: docs b: mono --debug $(BROWSER) @@ -13,19 +14,19 @@ tree: docs: glib pango atk gtk gdk gnome glade glib: - mono --debug $(GENERATOR) $(LIBDIR)/glib-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/glib-sharp.dll -o en pango: - mono --debug $(GENERATOR) $(LIBDIR)/pango-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/pango-sharp.dll -o en atk: - mono --debug $(GENERATOR) $(LIBDIR)/atk-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/atk-sharp.dll -o en gtk: - mono --debug $(GENERATOR) $(LIBDIR)/gtk-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/gtk-sharp.dll -o en gdk: - mono --debug $(GENERATOR) $(LIBDIR)/gdk-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/gdk-sharp.dll -o en gnome: - mono --debug $(GENERATOR) $(LIBDIR)/gnome-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/gnome-sharp.dll -o en glade: - mono --debug $(GENERATOR) $(LIBDIR)/glade-sharp.dll -o en + mono --debug $(UPDATER) $(LIBDIR)/glade-sharp.dll -o en clean: rm *.tree