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

class display {#class-display}

Class display is xpce's handle on the host's graphical output: a physical monitor, the system theme, DPI, system clipboard and the collection of frames currently hosted on that monitor. The underlying driver is SDL3 across all platforms.

xpce creates a single instance at boot, bound to the primary monitor and reachable as @display. Additional display instances appear dynamically when a hotplugged monitor is attached (and disappear on removal). Most applications never reference any other display than @display.

@see display<-convert @see display<-dpi @see display<-primary @see class display_manager

Class variables {#class-display-classvars}

Instance variables {#class-display-instvars}

Send methods {#class-display-send}

Get methods {#class-display-get}



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.