Map geometry
A data structure returned by screen.find_widget.
textual._compositor.MapGeometry
class
¶
Bases: NamedTuple
Defines the absolute location of a Widget.
dock_gutter
instance-attribute
¶
Space from the container reserved by docked widgets.
order
instance-attribute
¶
Tuple of tuples defining the painting order of the widget.
Each successive triple represents painting order information with regards to ancestors in the DOM hierarchy and the last triple provides painting order information for this specific widget.
virtual_region
instance-attribute
¶
The region relative to the container (but not necessarily visible).