Method

GtkWidgetset_parent_window

Declaration [src]

void
gtk_widget_set_parent_window (
  GtkWidget* widget,
  GdkWindow* parent_window
)

Description [src]

Sets a non default parent window for widget.

For GtkWindow classes, setting a parent_window effects whether the window is a toplevel window or can be embedded into other widgets.

For GtkWindow classes, this needs to be called before the window is realized.

Parameters

parent_window GdkWindow
 

The new parent window.

 The data is owned by the caller of the function.