From dddd3dcc9f079e7e43c109f98e2f7bcb1fbbdc7f Mon Sep 17 00:00:00 2001 From: Shane Landrum Date: Mon, 6 Dec 2004 06:21:01 +0000 Subject: [PATCH] 2004-12-06 Shane Landrum * en/Gtk/AccelCanActivateHandler.xml * en/Gtk/Widget.xml * en/Gtk/AccelCanActivateArgs.xml: Added docs for accelerator-related signals and handlers. svn path=/trunk/gtk-sharp/; revision=37170 --- doc/ChangeLog | 7 +++ doc/en/Gtk/AccelCanActivateArgs.xml | 14 ++--- doc/en/Gtk/AccelCanActivateHandler.xml | 7 ++- doc/en/Gtk/Widget.xml | 76 ++++++++++++++++++-------- 4 files changed, 70 insertions(+), 34 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index 0dd7d47ae..e9bf073ee 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,10 @@ +2004-12-06 Shane Landrum + + * en/Gtk/AccelCanActivateHandler.xml + * en/Gtk/Widget.xml + * en/Gtk/AccelCanActivateArgs.xml: Added docs for accelerator-related + signals and handlers. + 2004-12-05 John Luke * en/Gtk/Expander.xml: doc it diff --git a/doc/en/Gtk/AccelCanActivateArgs.xml b/doc/en/Gtk/AccelCanActivateArgs.xml index fe64eae3d..00d722427 100644 --- a/doc/en/Gtk/AccelCanActivateArgs.xml +++ b/doc/en/Gtk/AccelCanActivateArgs.xml @@ -9,8 +9,8 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Object to encapsulate arguments to a . + GLib.SignalArgs @@ -24,9 +24,9 @@ - To be added + Public constructor. a - To be added + @@ -37,10 +37,10 @@ - To be added + An identifier for a particular signal. a - To be added + - \ No newline at end of file + diff --git a/doc/en/Gtk/AccelCanActivateHandler.xml b/doc/en/Gtk/AccelCanActivateHandler.xml index 46bb896bb..bc18b26cf 100644 --- a/doc/en/Gtk/AccelCanActivateHandler.xml +++ b/doc/en/Gtk/AccelCanActivateHandler.xml @@ -9,8 +9,9 @@ Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. - To be added - To be added + Delegate for determining whether an accelerator can activate a + particular widget; see + System.Delegate @@ -32,4 +33,4 @@ - \ No newline at end of file + diff --git a/doc/en/Gtk/Widget.xml b/doc/en/Gtk/Widget.xml index 46486cb72..beedf97fa 100644 --- a/doc/en/Gtk/Widget.xml +++ b/doc/en/Gtk/Widget.xml @@ -3975,9 +3975,12 @@ Widgets are required to honor the size allocation they receive; a size request i - To be added - a - To be added + + This property determines whether the widget will be affected by + and . + + a , true if the widget should be affected + @@ -3987,8 +3990,12 @@ Widgets are required to honor the size allocation they receive; a size request i - To be added - To be added + + This signal is present to allow applications and derived + widgets to override the default Gtk.Widget handling + for determining whether an accelerator can be activated. + + See for more details. @@ -4000,10 +4007,14 @@ Widgets are required to honor the size allocation they receive; a size request i - To be added - a - a - To be added + + Method fired when the + event happens; override this for additional functionality. + + a , a signal ID + a , true if the accelerator can be activated. + + @@ -4015,9 +4026,17 @@ Widgets are required to honor the size allocation they receive; a size request i - To be added + Deprecated. a - To be added + + In GTK+ 1.2, this function would immediately render the + region of a widget, by invoking the virtual draw method of a + widget. In GTK+ 2.0, this method simply invalidates the specified region of the + widget, then updates the invalid region of the widget immediately. + Usually you don't want to update the region immediately for + performance reasons, so in general is + a better choice if you want to draw a region of a widget. + @@ -4037,7 +4056,7 @@ Widgets are required to honor the size allocation they receive; a size request i a a a - To be added + @@ -4051,7 +4070,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added a - To be added + @@ -4067,7 +4086,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added a a - To be added + @@ -4078,7 +4097,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added - To be added + @@ -4094,7 +4113,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added a a - To be added + @@ -4105,7 +4124,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added - To be added + @@ -4117,7 +4136,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added a - To be added + @@ -4129,10 +4148,19 @@ Widgets are required to honor the size allocation they receive; a size request i - To be added - a - a - To be added + + Determines whether an accelerator that activates the signal + identified by can currently be activated. + + a , a signal ID (XXX: API: should this really work this way?) + a , true if the accelerator can be activated. + + This is done by emitting the + signal on the widget; if the signal isn't overridden by a + handler or in a derived widget, then the default check is + that the widget must be sensitive, and the widget and all + its ancestors mapped. + @@ -4146,7 +4174,7 @@ Widgets are required to honor the size allocation they receive; a size request i To be added a - To be added + @@ -4164,4 +4192,4 @@ Widgets are required to honor the size allocation they receive; a size request i the values for the properties identified by See for more details. This overridden method also sets up event handlers on the object to ensure that the wrapper object always stays alive when the widget is contained by another widget (even when it is contained by an unmanaged widget that doesn't know about its managed wrapper). - \ No newline at end of file +