Commit ed31e7e8 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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
parent 0b66b244
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
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment