Description Usage Arguments Details Value Author(s)
Gets the first ancestor of widget with type widget.type. For example,
gtk_widget_get_ancestor (widget, GTK_TYPE_BOX) gets
the first GtkBox that's an ancestor of widget. No reference will be
added to the returned widget; it should not be unreferenced. See note
about checking for a toplevel GtkWindow in the docs for
gtkWidgetGetToplevel.
1 | gtkWidgetGetAncestor(object, widget.type)
|
|
a |
|
ancestor type |
Note that unlike gtkWidgetIsAncestor, gtkWidgetGetAncestor
considers widget to be an ancestor of itself.
[GtkWidget] the ancestor widget, or NULL if not found. [ transfer none ]
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.