GtkWidget::get_root_window
GdkWindow get_root_window();
Get the root window where this widget is located. This function can only be called after the widget has been added to a widget hierarchy with GtkWindow at the top.
The root window is useful for such purposes as creating a popup GdkWindow associated with the window.