cvs: php-gtk-doc /en/reference/gtk gtkenum.xml gtkwidget.xml
| From: | Steph Fox | Date: | Sat, 09 Mar 2002 10:58:04 +0000 |
| Subject: | cvs: php-gtk-doc /en/reference/gtk gtkenum.xml gtkwidget.xml | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-460@lists.php.net to get a copy of this message | ||
sfox Sat Mar 9 05:58:04 2002 EDT
Modified files:
/php-gtk-doc/en/reference/gtk gtkenum.xml gtkwidget.xml
Log:
small things ..
Index: php-gtk-doc/en/reference/gtk/gtkenum.xml
diff -u php-gtk-doc/en/reference/gtk/gtkenum.xml:1.32 php-gtk-doc/en/reference/gtk/gtkenum.xml:1.33
--- php-gtk-doc/en/reference/gtk/gtkenum.xml:1.32 Thu Mar 7 16:28:19 2002
+++ php-gtk-doc/en/reference/gtk/gtkenum.xml Sat Mar 9 05:58:03 2002
@@ -1250,6 +1250,25 @@
</enum>
+<enum id="gtk.enum.gtksorttype">
+ <enumname>GtkSortType</enumname>
+
+ <enumoption>
+ <optionname>GTK_SORT_ASCENDING</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_SORT_DESCENDING</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
<enum id="gtk.enum.gtkspinbuttonupdatepolicy">
<enumname>GtkSpinButtonUpdatePolicy</enumname>
@@ -1376,6 +1395,181 @@
<optionname>GTK_STATE_INSENSITIVE</optionname>
<shortdesc>
Denotes that the widget cannot react to user input.
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtksubmenuplacement">
+ <enumname>GtkSubmenuPlacement</enumname>
+
+ <enumoption>
+ <optionname>GTK_TOP_BOTTOM</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_LEFT_RIGHT</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtktoolbarchildtype">
+ <enumname>GtkToolbarChildType</enumname>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_CHILD_SPACE</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_CHILD_BUTTON</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_CHILD_TOGGLEBUTTON</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_CHILD_RADIOBUTTON</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_CHILD_WIDGET</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtktoolbarspacestyle">
+ <enumname>GtkToolbarSpaceStyle</enumname>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_SPACE_EMPTY</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_SPACE_LINE</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtktoolbarstyle">
+ <enumname>GtkToolbarStyle</enumname>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_ICONS</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_TEXT</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TOOLBAR_BOTH</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtktreeviewmode">
+ <enumname>GtkTreeViewMode</enumname>
+
+ <enumoption>
+ <optionname>GTK_TREE_VIEW_LINE</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_TREE_VIEW_ITEM</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtkupdatetype">
+ <enumname>GtkUpdateType</enumname>
+
+ <enumoption>
+ <optionname>GTK_UPDATE_CONTINUOUS</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_UPDATE_DISCONTINUOUS</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_UPDATE_DELAYED</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+</enum>
+
+<enum id="gtk.enum.gtkvisibility">
+ <enumname>GtkVisibility</enumname>
+
+ <enumoption>
+ <optionname>GTK_VISIBILITY_NONE</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_VISIBILITY_PARTIAL</optionname>
+ <shortdesc>
+
+ </shortdesc>
+ </enumoption>
+
+ <enumoption>
+ <optionname>GTK_VISIBILITY_FULL</optionname>
+ <shortdesc>
+
</shortdesc>
</enumoption>
Index: php-gtk-doc/en/reference/gtk/gtkwidget.xml
diff -u php-gtk-doc/en/reference/gtk/gtkwidget.xml:1.13
php-gtk-doc/en/reference/gtk/gtkwidget.xml:1.14
--- php-gtk-doc/en/reference/gtk/gtkwidget.xml:1.13 Sat Feb 9 10:27:11 2002
+++ php-gtk-doc/en/reference/gtk/gtkwidget.xml Sat Mar 9 05:58:03 2002
@@ -1092,10 +1092,31 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Extends capturable events prior to realization.
</shortdesc>
<desc>
-
+ <simpara>
+ This method is used to set the <enumname>GdkEventMask</enumname>
+ flags on a widget, extending the type of event that the widget
+ can capture from its default capabilities. You may need to do this,
+ for instance, to capture a key press event on a widget that does not
+ normally capture such events.
+ </simpara>
+ <simpara>
+ <function class="GtkWidget">set_events()</function> can be used
+ at any point in the widget's life-cycle.
+ </simpara>
+ <para>
+ Staying with the key-press example, the syntax would be:
+ <informalexample>
+ <programlisting role="php">
+$widget->set_events(GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK);
+ </programlisting>
+ </informalexample>
+ This would enable a previously keyboard-insensitive widget to emit
+ <signalname class="GtkWidget">key-press-event</signalname> and
+ <signalname class="GtkWidget">key-release-event</signalname> signals.
+ </para>
</desc>
</method>
@@ -1107,10 +1128,34 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
-
+ Extends capturable events after realization.
</shortdesc>
<desc>
-
+ <simpara>
+ This method is used to set the <enumname>GdkEventMask</enumname>
+ flags on a widget, extending the type of event that the widget
+ can capture from its default capabilities. You may need to do this,
+ for instance, to capture a button press event on a widget that does
+ not normally capture such events.
+ </simpara>
+ <simpara>
+ <function class="GtkWidget">add_events()</function> can only be used
+ after a widget has had <function class="GtkWidget">realize()</function>
+ called on it. Note that realization is a part of the
+ <function class="GtkWidget">show()</function> routine as well as being
+ a method/signal pair in its own right.
+ </simpara>
+ <para>
+ Staying with the button-press example, the syntax would be:
+ <informalexample>
+ <programlisting role="php">
+$widget->add_events(GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
+ </programlisting>
+ </informalexample>
+ This would enable a previously mouse-insensitive widget to emit
+ <signalname class="GtkWidget">button-press-event</signalname> and
+ <signalname class="GtkWidget">button-release-event</signalname> signals.
+ </para>
</desc>
</method>