//! Sets a single-value property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
//! Sets a single-value property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
//! Sets an multiple-value property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
//! Sets an multiple-value property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
of the property to set
@param value Any array of values to set the property to. The array must
contain <i>elements</i> number of elements
of the property to set
@param value Any array of values to set the property to. The array must
contain <i>elements</i> number of elements
//! Sets a string property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
//! Sets a string property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
type of the string the property is being set to
@param value The string to set the property to
*/
void set(Window win, Atoms atom, StringType type,
type of the string the property is being set to
@param value The string to set the property to
*/
void set(Window win, Atoms atom, StringType type,
//! Sets a string-array property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
//! Sets a string-array property on a window to a new value
/*!
@param win The window id of the window on which to set the property's value
type of the string the property is being set to
@param strings A list of strings to set the property to
*/
type of the string the property is being set to
@param strings A list of strings to set the property to
*/
//! Gets the value of a property on a window
/*!
@param win The window id of the window to get the property value from
//! Gets the value of a property on a window
/*!
@param win The window id of the window to get the property value from
of the property to retrieve
@param nelements The maximum number of elements to retrieve from the
property (assuming it has more than 1 value in it). To
of the property to retrieve
@param nelements The maximum number of elements to retrieve from the
property (assuming it has more than 1 value in it). To
//! Gets a single element from the value of a property on a window
/*!
@param win The window id of the window to get the property value from
//! Gets a single element from the value of a property on a window
/*!
@param win The window id of the window to get the property value from
of the property to retrieve
@param value If the function returns true, then this contains the first
(and possibly only) element in the value of the specified
of the property to retrieve
@param value If the function returns true, then this contains the first
(and possibly only) element in the value of the specified
//! Gets a single string from the value of a property on a window
/*!
@param win The window id of the window to get the property value from
//! Gets a single string from the value of a property on a window
/*!
@param win The window id of the window to get the property value from
type of the string property to retrieve
@param value If the function returns true, then this contains the first
(and possibly only) string in the value of the specified
type of the string property to retrieve
@param value If the function returns true, then this contains the first
(and possibly only) string in the value of the specified
@return true if retrieval of the specified property with the specified
type was successful; otherwise, false
*/
@return true if retrieval of the specified property with the specified
type was successful; otherwise, false
*/
- bool get(Window win, Atoms atom, StringType type, std::string *value) const;
+ bool get(Window win, Atoms atom, StringType type, ustring *value) const;
//! Gets strings from the value of a property on a window
/*!
@param win The window id of the window to get the property value from
//! Gets strings from the value of a property on a window
/*!
@param win The window id of the window to get the property value from
type of the string property to retrieve
@param nelements The maximum number of strings to retrieve from the
property (assuming it has more than 1 string in it). To
type of the string property to retrieve
@param nelements The maximum number of strings to retrieve from the
property (assuming it has more than 1 string in it). To
//! Removes a property from a window
/*!
@param win The window id of the window to remove the property from
//! Removes a property from a window
/*!
@param win The window id of the window to remove the property from
property to remove from the window
*/
void erase(Window win, Atoms atom) const;
//! Gets the value of an atom on the X server
/*!
property to remove from the window
*/
void erase(Window win, Atoms atom) const;
//! Gets the value of an atom on the X server
/*!