gtk+ r20933 - in trunk/docs/reference: . gtk/tmpl



Author: matthiasc
Date: Sat Aug  2 04:35:02 2008
New Revision: 20933
URL: http://svn.gnome.org/viewvc/gtk+?rev=20933&view=rev

Log:
2008-08-02  Matthias Clasen  <mclasen redhat com>

        Bug 540834 â Insensitive widgets cannot be grabbed

        * gtk/tmpl/gtkmain.sgml: Explain that insensitive widgets
        cannot be grabbed. Patch by BjÃrn Lindqvist




Modified:
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/gtk/tmpl/gtkmain.sgml

Modified: trunk/docs/reference/gtk/tmpl/gtkmain.sgml
==============================================================================
--- trunk/docs/reference/gtk/tmpl/gtkmain.sgml	(original)
+++ trunk/docs/reference/gtk/tmpl/gtkmain.sgml	Sat Aug  2 04:35:02 2008
@@ -381,6 +381,10 @@
 other widgets in the same application is blocked and mouse as well as 
 keyboard events are delivered to this widget.
 </para>
+<para>
+If @widget is not sensitive, it is not set as the current grabbed
+widget and this function does nothing.
+</para>  
 
 @widget: The widget that grabs keyboard and pointer events.
 
@@ -398,6 +402,9 @@
 Removes the grab from the given widget. You have to pair calls to gtk_grab_add()
 and gtk_grab_remove().
 </para>
+<para>
+If @widget does not have the grab, this function does nothing.
+</para>
 
 @widget: The widget which gives up the grab.
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]