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 -- true if the dialog is modal

Details

Accessor of the modal slot of the gtk:native-dialog class. The gtk:native-dialog-modal function returns whether the dialog is modal. The (setf gtk:native-dialog-modal) function sets a dialog modal or non-modal.

Modal dialogs 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 function to make the dialog transient for the parent. Most window managers will then disallow lowering the dialog below the parent.
 

See also

#2023-4-16