Package: gtk

Accessor gtk:native-dialog-modal

Lambda List

gtk:native-dialog-modal (object)

Syntax

(gtk:native-dialog-modal object) => modal
(setf (gtk:native-dialog-modal object) modal)

Arguments

object -- a gtk:native-dialog widget
modal -- a boolean whether the dialog window should be modal with respect to the transient parent

Details

Accessor of the modal slot of the gtk:native-dialog class. The gtk:native-dialog-modal function returns whether the dialog window is modal. The (setf gtk:native-dialog-modal) function sets a dialog window modal or non-modal. Modal dialog windows prevent interaction with other windows in the same application. To keep modal dialogs on top of main application windows, use the gtk:native-dialog-transient-for functiom to make the dialog window transient for the parent. Most window managers will then disallow lowering the dialog window below the parent.
 

See also

#2023-6-10