src/swipl-devel/packages/xpce/man/refmanual/md/layout_manager.md

class layout_manager {#class-layout_manager}

A layout_manager is the object responsible for placing the graphicals on a device. The design mirrors recogniser: part of the device's responsibilities (here, geometry) is delegated to an associated object.

A layout_manager is attached to a device via device->layout_manager. The device asks it to recompute the layout and to paint any background. Conversely, the manager assigns each managed graphical a layout_interface (via graphical ->layout_interface) that intercepts geometry changes and propagates them back so the manager knows when to recompute.

Class layout_manager itself is an almost-empty abstract base. The first concrete realisation is table, implementing HTML-3-like tables. See also layout_interface.

@see class device @see class layout_interface @see class table

Instance variables {#class-layout_manager-instvars}

Send methods {#class-layout_manager-send}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.