forked from AuroraMiddleware/gtk
f04a720348
Currently the only users of the GTK_HAS_FOCUS flag are setting it before sending a focus change event. This is normally needed by GtkWindow, but there are widgets that require controlling the focus of widgets that are semantically their children even though they are parented to another top-level. Case in point: the quick search entry for GtkTreeView. Over the years people have been hacking the focus change out of gtkwindow.c and gtktreeview.c, thus leaking the direct access of the GTK_HAS_FOCUS flag. The simplest way to avoid that is to add a function that sends the focus change event and controls the setting of the flag, thus removing the need for external widgets to do the same. https://bugzilla.gnome.org/show_bug.cgi?id=593671 |
||
---|---|---|
.. | ||
faq | ||
reference | ||
tools | ||
tutorial | ||
defsformat.txt | ||
developers.txt | ||
dnd_internals.txt | ||
focus_tracking.txt | ||
generation.txt | ||
gtk-config.txt | ||
gtkdocs_fix | ||
iconcache.txt | ||
make-todo | ||
Makefile.am | ||
refcounting.txt | ||
RELEASE-HOWTO | ||
sizing-test.txt | ||
styles.txt | ||
text_widget_internals.txt | ||
text_widget.txt | ||
tree-column-sizing.png | ||
tree-column-sizing.txt | ||
widget_geometry.txt | ||
widget_system.txt |