gtk+ r20630 - trunk/gtk



Author: timj
Date: Fri Jun 20 11:10:43 2008
New Revision: 20630
URL: http://svn.gnome.org/viewvc/gtk+?rev=20630&view=rev

Log:
Document gtk_container_get_focus_child().

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


Modified:
   trunk/gtk/gtkcontainer.c

Modified: trunk/gtk/gtkcontainer.c
==============================================================================
--- trunk/gtk/gtkcontainer.c	(original)
+++ trunk/gtk/gtkcontainer.c	Fri Jun 20 11:10:43 2008
@@ -1559,6 +1559,17 @@
   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)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]