Method

GntWidgetget_toplevel

since: 2.14

Declaration [src]

GntWidget*
gnt_widget_get_toplevel (
  GntWidget* widget
)

Description [src]

Get the toplevel parent of a widget in the container hierarchy. If widget has no parent widgets, it will be returned as the topmost widget.

Available since: 2.14

Return value

Type: GntWidget

The toplevel parent widget.

The data is owned by the instance.
The return value can be NULL.