GtkWidget::set_parent_window

void set_parent_window(GdkWindow parent_window);

See also: get_parent_window()