mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-24 15:54:53 +00:00
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:
parent
0b66b244a4
commit
ed31e7e8fb
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user