Other Window Properties

The property(N,V) window attribute is not limited to communicating with window managers. It may be used for attaching arbitrary data to a window. It is important to note that getting window properties is expensive, as it requires a round trip to the X server. However properties are an effective way for multiple applications in separate address spaces to communicate.

As described in pxl-win-atts, the name argument N of a property attribute may be any atom. The value argument V may be a pixmap, a colormap, a cursor, a font, an integer, a pixmap, an atom, a visual term, a window, or one of the following terms:


Value
Meaning
arc/6
Describes an arc. See pxl-prim-arcs for an explanation.
atom(Term)
Term must be an atom. To Prolog, this is much the same as simply specifying Term, but other applications may distinguish between atoms and strings.
cardinal(Int)
Int must be a non-negative integer. To Prolog this is much like simply specifying Int, but other applications may distinguish between signed and unsigned integers.
point/2
Describes a point or position. See pxl-prim-pnt for an explanation.
rectangle/4
Describes a rectangle or region. See pxl-prim-rect for an explanation.
wm_hints/7
As described in pxl-win-wmi-wini.
wm_size_hints/6
As described in pxl-win-wmi-wsiz.
wm_icon_size/1
As described in pxl-win-wmi-isz.