docs: Add annotations for GtkPaned new getters

Which means also adding gtk-doc stanzas.
This commit is contained in:
Emmanuele Bassi 2020-05-12 18:52:45 +01:00
parent 68682dda89
commit 58774eea72

View File

@ -1600,6 +1600,16 @@ gtk_paned_set_start_child (GtkPaned *paned,
g_object_notify (G_OBJECT (paned), "start-child");
}
/**
* gtk_paned_get_start_child:
* @paned: a #GtkPaned
*
* Retrieves the start child of the given #GdkPaned.
*
* See also: #GtkPaned::start-child
*
* Returns: (transfer none) (nullable): the start child widget
*/
GtkWidget *
gtk_paned_get_start_child (GtkPaned *paned)
{
@ -1662,6 +1672,16 @@ gtk_paned_get_shrink_start_child (GtkPaned *paned)
return priv->shrink_start_child;
}
/**
* gtk_paned_get_end_child:
* @paned: a #GtkPaned
*
* Retrieves the end child of the given #GdkPaned.
*
* See also: #GtkPaned::end-child
*
* Returns: (transfer none) (nullable): the end child widget
*/
void
gtk_paned_set_end_child (GtkPaned *paned,
GtkWidget *child)
@ -1682,6 +1702,7 @@ gtk_paned_set_end_child (GtkPaned *paned,
g_object_notify (G_OBJECT (paned), "end-child");
}
GtkWidget *
gtk_paned_get_end_child (GtkPaned *paned)
{