Bug 540834 – Insensitive widgets cannot be grabbed

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



svn path=/trunk/; revision=20933
This commit is contained in:
Matthias Clasen 2008-08-02 04:35:02 +00:00 committed by Matthias Clasen
parent 0b66b244a4
commit ed31e7e8fb
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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
2008-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Update

View File

@ -381,6 +381,10 @@ Makes @widget the current grabbed widget. This means that interaction with
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 @@ Queries the current grab of the default window group.
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.