Method

GdkWindowset_transient_for

Declaration [src]

void
gdk_window_set_transient_for (
  GdkWindow* window,
  GdkWindow* parent
)

Description [src]

Indicates to the window manager that window is a transient dialog associated with the application window parent. This allows the window manager to do things like center window on parent and keep window above parent.

See gtk_window_set_transient_for() if you’re using GtkWindow or GtkDialog.

Parameters

parent

Type: GdkWindow

Another toplevel GdkWindow.

The data is owned by the caller of the method.