Method

GtkNativeDialogset_transient_for

Declaration [src]

void
gtk_native_dialog_set_transient_for (
  GtkNativeDialog* self,
  GtkWindow* parent
)

Description [src]

Dialog windows should be set transient for the main application window they were spawned from. This allows [window managers][gtk-X11-arch] to e.g. keep the dialog on top of the main window, or center the dialog over the main window.

Passing NULL for parent unsets the current transient window.

Available since:3.20

Parameters

parent GtkWindow
 

Parent window, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.