Element: graphic_window.raster_id

Type

numeric

Description

An X-windows window handle. Passing this value to an external process permits the process to write graphics into the window. The handle in fact points to a Pixmap in the X server which is displayed whenever the window is repainted. This element has no other use within the modeling language and cannot be changed by the user.

A graphic window only has such a Pixmap when either it has a cloth active or when there is a window.redraw procedure for the window. Its validity can only be assured within a window.redraw procedure because its handle can change when a window gets resized. It should only be passed to an external process from within the window.redraw procedure to make sure.

See Also

Commands:

wcloth, wpaint

Structures:

window.redraw