Package: gtk

Accessor gtk:popover-position

Lambda List

gtk:popover-position (object)

Syntax

(gtk:popover-pointing-to object) => position
(setf (gtk:popover-pointing-to object) position)

Arguments

object -- a gtk:popover widget
position -- a gtk:position-type value with the preferred popover position

Details

Accessor of the position slot of the gtk:popover class. The gtk:popover-position function returns the preferred position of the popover to appear. The (setf gtk:popover-position) function sets the preferred position. If the popover is currently visible, it will be immediately updated.

This preference will be respected where possible, although on lack of space, for example, if close to the window edges, the gtk:popover widget may choose to appear on the opposite side.
 

See also

2024-10-26