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 object
parent -- a gtk:window parent window

Details

The accessor for the transient-for slot of the gtk:native-dialog class gets or sets fetches the transient parent for the dialog.

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

2025-07-29