Method
GtkNativeDialogset_transient_for
since: 3.20
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
Sets property | Gtk.NativeDialog:transient-for |
Parameters
parent
-
Type:
GtkWindow
Parent window, or
NULL
.The argument can be NULL
.The data is owned by the caller of the method.