GtkWidget::get_toplevel

GtkWidget get_toplevel();

Returns the toplevel ancestor widget of the current widget.