Package: gtk
Class gtk:overlay
Superclassesgtk:widget, gobject:initially-unowned, gtk:accessible, gtk:buildable, gtk:constraint-target, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:overlay widget contains a single main widget, on top of
which it can place overlay widgets. ![]() The position of each overlay widget is determined by its halign and valign properties. For example, an overlay widget with both alignments set to :start will be placed at the top left corner of the main widget, whereas an overlay widget with the halign property set to :center and the valign property set to :end will be placed a the bottom edge of the main widget, horizontally centered. The position can be adjusted by setting the margin properties of the overlay widget to non-zero values. More complicated placement of overlay widgets is possible by connecting to the "get-child-position" signal. The minimum and natural sizes of an overlay widget are those of its main child. The sizes of overlay children are not considered when measuring these preferred sizes. GtkOverlay as GtkBuildableCSS nodesSignal DetailsThe "get-child-position" signallambda (overlay widget allocation) :run-last
| Returned bySlot Access FunctionsInherited Slot Access Functions |
2024-10-2