cvs: php-gtk-doc /en/reference/gtk gtk-functions.xml
| From: | Christian Weiske | Date: | Thu, 29 Jul 2004 19:09:27 +0000 |
| Subject: | cvs: php-gtk-doc /en/reference/gtk gtk-functions.xml | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-971@lists.php.net to get a copy of this message | ||
cweiske Thu Jul 29 15:09:27 2004 EDT
Modified files:
/php-gtk-doc/en/reference/gtk gtk-functions.xml
Log:
Changed the grab descriptions.
Seems as _I_ am the one who needs to get the gtk::void explained :)
http://cvs.php.net/diff.php/php-gtk-doc/en/reference/gtk/gtk-functions.xml?r1=1.12&r2=1.13&ty=u
Index: php-gtk-doc/en/reference/gtk/gtk-functions.xml
diff -u php-gtk-doc/en/reference/gtk/gtk-functions.xml:1.12
php-gtk-doc/en/reference/gtk/gtk-functions.xml:1.13
--- php-gtk-doc/en/reference/gtk/gtk-functions.xml:1.12 Thu Jul 29 14:33:59 2004
+++ php-gtk-doc/en/reference/gtk/gtk-functions.xml Thu Jul 29 15:09:27 2004
@@ -699,10 +699,17 @@
</shortdesc>
<desc>
<simpara>
- Returns the widget which currently has the keyboard focus.
+ Returns the widget which currently has the keyboard grab.
<literal>NULL</literal> is returned if there is no active
grab.
</simpara>
+ <simpara>
+ Widgets can grab the pointer and keyboard away from other widgets.
+ This essentially means that the widget becomes "modal"; input goes
+ only to that widget, and the focus can't be changed to another widget.
+ A typical reason to grab input is to create a modal dialog;
+ if a window has the grab, interaction with other windows is blocked.
+ </simpara>
</desc>
</method>
@@ -721,10 +728,12 @@
</shortdesc>
<desc>
<simpara>
- Removes the keyboard focus from the given <parameter>widget</parameter>.
- You should use <link linked="gtk.method.grab_remove">grab_remove</link>
- and <link linked="gtk.method.grab_add">grab_add</link> in pairs to avoid
- undefined states.
+ Removes the keyboard grab from the given <parameter>widget</parameter>.
+ </simpara>
+ <simpara>
+ If you don't know what a <emphasis>grab</emphasis> is, have a
+ look at <link
linked="gtk.method.grab_get_current">grab_get_current</link>
+ function.
</simpara>
</desc>
</method>