Package: gtk

Accessor gtk:native-dialog-transient-for

Lambda List

gtk:native-dialog-transient-for (object)

Syntax

(gtk:native-dialog-transient-for object) => parent
(setf (gtk:native-dialog-transient-for object) parent)

Arguments

object -- a gtk:native-dialog widget
parent -- a gtk:window transient parent for the dialog window

Details

Accessor of the transient-for slot of the gtk:native-dialog class. The gtk:native-dialog-transient-for function fetches the transient parent for the dialog window. The (setf gtk:native-dialog-transient-for) function sets the transient parent.

Dialogs should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog window on top of the main window, or center the dialog window over the main window.

Passing nil for parent unsets the current transient window.
 

See also

#2023-6-10