template <class character>
handle get_property(handle window,
                    const character* string)

This function obtains a property of a window.


handle window

The handle of the window whose property is being queried.

const character* string

A pointer to a string naming the property. Alternatively, the low-order part of the pointer can contain a global atom naming the window property. When the low-order part of the pointer contains an atom, the high-order part is set to zero.



The handle that is the data of the property or null if property did not exist or if an error occurred.


The specified property must have been previously created via the function set_property.