Package: gtk

Accessor gtk-popover-modal

Lambda List

gtk-popover-modal (object)

Syntax

(gtk-popover-modal object) => modal
(setf (gtk-popover-modal object) modal)

Arguments

object -- a gtk-popover widget
modal -- a boolean, that is true to make the popover claim all input within the toplevel

Details

Accessor of the modal slot of the gtk-popover class.

The gtk-popover-modal slot access function returns whether the popover is modal. The (setf gtk-popover-modal) slot access function sets whether the popover is modal, a modal popover will grab all input within the toplevel and grab the keyboard focus on it when being displayed. Clicking outside the popover area or pressing the Escape key will dismiss the popover and ungrab input.
 

See also

2021-12-25