mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
label: Clarify docs for gtk_label_get_layout()
This commit is contained in:
parent
f9a9567731
commit
0b6c184eaa
@ -5509,8 +5509,9 @@ gtk_label_get_selection_bounds (GtkLabel *label,
|
||||
* Gets the #PangoLayout used to display the label.
|
||||
* The layout is useful to e.g. convert text positions to
|
||||
* pixel positions, in combination with gtk_label_get_layout_offsets().
|
||||
* The returned layout is owned by the label so need not be
|
||||
* freed by the caller.
|
||||
* The returned layout is owned by the @label so need not be
|
||||
* freed by the caller. The @label is free to recreate its layout at
|
||||
* any time, so it should be considered read-only.
|
||||
*
|
||||
* Return value: (transfer none): the #PangoLayout for this label
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user