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 parent 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. The (setf gtk:native-dialog-transient-for) function sets the parent.

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

Passing nil for parent unsets the current transient window.
 

See also

#2023-4-16