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) {