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

class window {#class-window}

A window is a subwindow of a frame object. It appears on the screen as a rectangular area inside a frame. It defines an infinite two-dimensional drawing plane of which a rectangular sub-area is <-visible. A window optionally has ->scrollbars attached that allows the user to move the visible rectangle over the infinite plane.

Class window takes care of the communication with its <-frame and the window system it uses for it's graphical representation.

As defined in class device, a window can display graphical objects (i.e. instances of one of the subclasses of class graphical). There are several kinds of windows:

@see class picture @see topic Window Layout @see class tile @see class graphical @see class frame @see class event

Class variables {#class-window-classvars}

Instance variables {#class-window-instvars}

Send methods {#class-window-send}

Get methods {#class-window-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.