From 13341d7cb99f5cc73ebee8a680c2df397d10a53d Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 20 Jun 2008 11:10:43 +0000 Subject: [PATCH] Document gtk_container_get_focus_child(). * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child(). svn path=/trunk/; revision=20630 --- gtk/gtkcontainer.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 7dd34aef35..b24dde9aa6 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1559,6 +1559,17 @@ gtk_container_set_focus_child (GtkContainer *container, g_signal_emit (container, container_signals[SET_FOCUS_CHILD], 0, widget); } +/** + * gtk_container_get_focus_child: + * @container: a #GtkContainer + * + * Returns the current focus child widget inside @container. + * + * Returns: The child widget which has the focus + * inside @container, or %NULL if none is set. + * + * Since: GSEAL-branch + **/ GtkWidget * gtk_container_get_focus_child (GtkContainer *container) {