gtk2/docs/reference/gtk
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
..
images Fix up docs, and set up the aliasing machinery 2009-11-26 23:52:20 -05:00
tmpl Move documentation to inline comments: GtkMessageDialog 2010-04-21 05:57:29 +02:00
building.sgml Add notes about gobject-introspection 2010-03-23 11:41:17 -04:00
changes-1.2.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
changes-2.0.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
compiling.sgml Add info about single includes when compiling GTK+ apps 2009-12-15 20:10:20 +01:00
directfb.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
drawing-model.xml Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED) 2010-03-01 18:14:05 +01:00
glossary.xml Deprecate flag macros for toplevel, state, no window and composite child 2010-01-04 07:57:05 +01:00
gtk-builder-convert.xml Updates 2007-07-10 05:28:52 +00:00
gtk-docs.sgml [docs] Fix GtkOffscreenWindow documentation 2010-01-28 04:10:39 +01:00
gtk-overrides.txt Remove GtkArgSetFunc, GtkArgGetFunc. 2001-06-04 19:08:59 +00:00
gtk-query-immodules-2.0.xml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
gtk-sections.txt widget: Add send_focus_change() 2010-04-26 18:59:22 +01:00
gtk-update-icon-cache.xml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
gtk.types [docs] Fix GtkOffscreenWindow documentation 2010-01-28 04:10:39 +01:00
Makefile.am Merge branch 'master' into toolpalette 2009-10-28 10:57:46 +01:00
migrating-checklist.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-ClientSideWindows.sgml Mention thread-safety issues 2009-09-13 23:32:46 -04:00
migrating-GtkAboutDialog.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-GtkAction.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-GtkAssistant.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-GtkBuilder.sgml Correct a thinko 2009-07-30 09:13:23 -04:00
migrating-GtkColorButton.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-GtkComboBox.sgml Fix links in GtkComboBox migration guide 2010-01-07 16:51:07 +01:00
migrating-GtkEntry-icons.sgml Fix a typo 2009-08-06 23:49:02 -04:00
migrating-GtkFileChooser.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-GtkIconView.sgml docs: don't invent new docbook tags, it is <type> not <typename> 2009-07-31 13:27:48 +03:00
migrating-GtkLabel-links.sgml Add a separate keybinding signal for activating links 2009-05-11 02:44:12 -04:00
migrating-GtkLinkButton.sgml Mention default hook 2008-12-27 05:37:10 +00:00
migrating-GtkRecentChooser.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
migrating-GtkTooltip.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
objects_grouped.sgml remove GtkPacker. 2001-10-05 21:26:48 +00:00
osx.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
other_software.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
question_index.sgml trivial fixes 2008-12-26 04:42:25 +00:00
resources.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
running.sgml Update debug flag information 2009-11-27 00:32:14 -05:00
text_widget.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
tree_widget.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
version.xml.in Add package version info to API docs. 2002-11-21 20:19:01 +00:00
visual_index.xml Merge branch 'master' into toolpalette 2009-10-28 10:57:46 +01:00
windows.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00
x11.sgml Bug 540967 – docs build slowly because of entities 2008-07-10 03:27:56 +00:00