Document gtk_container_get_focus_child().

* gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().

svn path=/trunk/; revision=20630
This commit is contained in:
Tim Janik 2008-06-20 11:10:43 +00:00
parent c4576c3a85
commit 13341d7cb9

View File

@ -1559,6 +1559,17 @@ gtk_container_set_focus_child (GtkContainer *container,
g_signal_emit (container, container_signals[SET_FOCUS_CHILD], 0, widget); 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 * GtkWidget *
gtk_container_get_focus_child (GtkContainer *container) gtk_container_get_focus_child (GtkContainer *container)
{ {