From 519ba608ee8d8f954e2421254b6c7272750e2d6e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 17 Mar 2008 13:57:00 +0000 Subject: [PATCH] Properly document gtk_container_set_focus_child(). (#521739, Andrew Cowie) 2008-03-17 Emmanuele Bassi * gtk/gtkcontainer.c: Properly document gtk_container_set_focus_child(). (#521739, Andrew Cowie) svn path=/trunk/; revision=19893 --- ChangeLog | 5 +++++ gtk/gtkcontainer.c | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/ChangeLog b/ChangeLog index c6b016eb12..4727430b1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-17 Emmanuele Bassi + + * gtk/gtkcontainer.c: Properly document + gtk_container_set_focus_child(). (#521739, Andrew Cowie) + 2008-03-16 Alberto Ruiz * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index b4889ddf38..c81a372119 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1537,6 +1537,17 @@ gtk_container_foreach_full (GtkContainer *container, notify (callback_data); } +/** + * gtk_container_set_focus_child: + * @container: a #GtkContainer + * @widget: a #GtkWidget, or %NULL + * + * Sets, or unsets if @widget is %NULL, the focused child of @container. + * + * This function emits the GtkContainer::set_focus_child signal of + * @container. Implementations of #GtkContainer can override the + * default behaviour by overriding the class closure of this signal. + */ void gtk_container_set_focus_child (GtkContainer *container, GtkWidget *widget)