From 41c578d85a23fea2d889e953e81736c1fd0e4c47 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 26 Jun 2004 23:32:38 +0000 Subject: [PATCH] New from jluke svn path=/trunk/gtk-sharp/; revision=30451 --- doc/en/Gtk/Gc.xml | 4 ++-- doc/en/Gtk/Global.xml | 23 ++++++++++++++++++----- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/doc/en/Gtk/Gc.xml b/doc/en/Gtk/Gc.xml index 3941e23cd..63684ef29 100644 --- a/doc/en/Gtk/Gc.xml +++ b/doc/en/Gtk/Gc.xml @@ -29,7 +29,7 @@ - To be added + Releases the that is passed in. a To be added @@ -47,7 +47,7 @@ - To be added + Returns a with the specified values. a a a diff --git a/doc/en/Gtk/Global.xml b/doc/en/Gtk/Global.xml index 1d2a0d2b9..9b36e77c9 100644 --- a/doc/en/Gtk/Global.xml +++ b/doc/en/Gtk/Global.xml @@ -149,9 +149,9 @@ Gdk.Event - To be added + Obtains a copy of the event currently being processed by Gtk#. a - To be added + For example, if you get a event from , the current event will be the that triggered the signal. If there is no current event, the function returns . @@ -161,7 +161,7 @@ System.UInt32 - Returns a uint representing the unix time of the current event. + Returns a representing the unix time of the current event. Returns the unix time for the current event. None. @@ -319,9 +319,22 @@ - To be added + Checks if any events are pending. a - To be added + This can be used to update the GUI and invoke timeouts etc. while doing some time intensive computation. + + + + /* computation going on */ +... + while (Gtk.Global.EventsPending) + { + Gtk.Application.RunIteration (); + } +... + /* computation continued */ + +