gtk: Small documentation fixes

This commit is contained in:
Matthias Clasen 2019-05-02 02:57:49 +00:00
parent 7b1201cd4d
commit ed52c029a0
4 changed files with 19 additions and 2 deletions

View File

@ -334,6 +334,13 @@ gtk_fixed_layout_init (GtkFixedLayout *self)
{
}
/**
* gtk_fixed_layout_new:
*
* Creates a new #GtkFixedLayout.
*
* Returns: the newly created #GtkFixedLayout
*/
GtkLayoutManager *
gtk_fixed_layout_new (void)
{

View File

@ -1726,7 +1726,7 @@ gtk_grid_layout_init (GtkGridLayout *self)
}
/**
* gtk_grid_layou_new:
* gtk_grid_layout_new:
*
* Creates a new #GtkGridLayout.
*

View File

@ -446,7 +446,7 @@ gtk_password_entry_new (void)
/**
* gtk_password_entry_set_show_peek_icon:
* @entry: a #GtkPasswordEntry
* show_peek_icon: whether to show the peek icon
* @show_peek_icon: whether to show the peek icon
*
* Sets whether the entry should have a clickable icon
* to show the contents of the entry in clear text.

View File

@ -611,6 +611,16 @@ gtk_snapshot_ensure_identity (GtkSnapshot *snapshot)
gtk_snapshot_autopush_transform (snapshot);
}
/**
* gtk_snapshot_push_repeat:
* @snapshot: a #GtkSnapshot
* @bounds: the bounds within which to repeat
* @child_bounds: the bounds of the child
*
* Creates a node that repeats the child node.
*
* The child is recorded until the next call to gtk_snapshot_pop().
*/
void
gtk_snapshot_push_repeat (GtkSnapshot *snapshot,
const graphene_rect_t *bounds,