gtk2/docs
Emmanuele Bassi f04a720348 widget: Add send_focus_change()
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
2010-04-26 18:59:22 +01:00
..
faq Substitute gtk_widget_ref/unref with g_object_ref/unref 2009-10-14 03:30:57 +02:00
reference widget: Add send_focus_change() 2010-04-26 18:59:22 +01:00
tools Fix up linker flags 2009-12-19 18:37:39 +01:00
tutorial Revert "Make GTK+ Tutorial gnome-doc-utils compliant" 2010-04-22 21:11:53 +02:00
defsformat.txt Add defs file format document (this document isn't 100% finalized, but 2000-03-23 20:20:19 +00:00
developers.txt Substitute gtk_widget_ref/unref with g_object_ref/unref 2009-10-14 03:30:57 +02:00
dnd_internals.txt Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00
focus_tracking.txt Apply a cleanup patch by Kjartan Maraas (#341812) 2006-10-08 05:07:55 +00:00
generation.txt Apply a cleanup patch by Kjartan Maraas (#341812) 2006-10-08 05:07:55 +00:00
gtk-config.txt Apply a cleanup patch by Kjartan Maraas (#341812) 2006-10-08 05:07:55 +00:00
gtkdocs_fix I just remembered this commit failed before because 1998-03-12 18:23:11 +00:00
iconcache.txt Update spec. 2005-03-15 13:18:25 +00:00
make-todo Make parent_class static. 2000-11-12 03:35:09 +00:00
Makefile.am Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
refcounting.txt Substitute gtk_widget_ref/unref with g_object_ref/unref 2009-10-14 03:30:57 +02:00
RELEASE-HOWTO updates 2010-03-12 15:59:59 -05:00
sizing-test.txt fix a typo. 2001-08-10 03:46:08 +00:00
styles.txt Apply a cleanup patch by Kjartan Maraas (#341812) 2006-10-08 05:07:55 +00:00
text_widget_internals.txt add a file documenting some of the text widget internals 2003-01-04 03:07:14 +00:00
text_widget.txt Apply a cleanup patch by Kjartan Maraas (#341812) 2006-10-08 05:07:55 +00:00
tree-column-sizing.png constrain cell area to passed in cell_area, #147867 2004-08-31 21:15:51 +00:00
tree-column-sizing.txt update a little 2002-02-04 19:30:00 +00:00
widget_geometry.txt Add a note about the !CAN_FOCUS quirk in the button size allocation code. 2004-06-05 03:58:50 +00:00
widget_system.txt Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions 2009-10-14 03:13:52 +02:00