Package: gtk

Accessor gtk:popover-autohide

Lambda List

gtk:popover-autohide (object)

Syntax

(gtk:popover-autohide object) => setting
(setf (gtk:popover-autohide object) setting)

Arguments

object -- a gtk:popover widget
setting -- a boolean whether to dismiss the popover on outside clicks

Details

Accessor of the autohide slot of the gtk:popover class. The gtk:popover-autohide function returns whether the popover is modal. The (setf gtk:popover-autohide) function sets whether popover is modal.

A modal popover will grab the keyboard focus on it when being displayed. Clicking outside the popover area or pressing the Esc key will dismiss the popover.

Called this function on an already showing popup with a new autohide value different from the current one, will cause the popup to be hidden.
 

See also

2024-10-26