X11.SetWindowProperty (gb.desktop.x11)
Static Sub SetWindowProperty ( Window As Integer, Property As String, Type As String, Value As Variant )
Set 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.
-
Type is the name or the identifier of the atom representing the property type.
-
Value is the value of the property.
The value of the property must match the word size (8 bits, 16 bits or 32 bits) of the property type as defined by the
Type argument.
Value datatype
|
Word size used
|
String
Byte[]
|
8 bits
|
Short[]
|
16 bits
|
Boolean
Byte
Short
Integer
Integer[]
|
32 bits
|
String[]
|
Array of UTF-8 strings provided that Type is the UTF8_STRING atom.
|
If the value datatype cannot be handled, an error is raised.