mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
docs: add missing info for gtk_widget_get_style_context()
It is important to know whether the returned object can or cannot change, for a certain widget. For example to connect to the GtkStyleContext::changed signal. https://bugzilla.gnome.org/show_bug.cgi?id=769047
This commit is contained in:
parent
f089d7503b
commit
3432587f89
@ -16542,7 +16542,8 @@ _gtk_widget_peek_style_context (GtkWidget *widget)
|
||||
* gtk_widget_get_style_context:
|
||||
* @widget: a #GtkWidget
|
||||
*
|
||||
* Returns the style context associated to @widget.
|
||||
* Returns the style context associated to @widget. The returned object is
|
||||
* guaranteed to be the same for the lifetime of @widget.
|
||||
*
|
||||
* Returns: (transfer none): a #GtkStyleContext. This memory is owned by @widget and
|
||||
* must not be freed.
|
||||
|
Loading…
Reference in New Issue
Block a user