GtkWidget::get_parent

GtkWidget get_parent();

Returns the widget's parent widget. The parent widget is the container which holds the widget. Usually, the only widgets in an application that do not have a parent are windows.

The widget returned will be a GtkContainer descendant.

See also: set_parent() , parent