X11.GetWindowProperty (gb.desktop.x11)
Static Function GetWindowProperty ( Window As Integer, Property As String ) As Variant
Return the value of a window property.
-
Window is the window identifier.
-
Property is the name of the property or the integer identifier of its atom.
The datatype of the returned value depends on the actual property type and the property word size (8, 16 or 32 bits).
Note that a property can store an arbitrary number of elements, so an array is usually returned.
X11 property type
|
Returned value
|
ATOM
|
An array of strings, each string being an atom name.
|
UTF8_STRING
|
An array of UTF-8 strings.
|
Any 32 bits property.
|
An array of integers.
|
Any 16 bits property.
|
An array of shorts.
|
All other types.
|
The property contents as one string.
|