XScreenResourceString() XScreenResourceString()
Name
XScreenResourceString - return the SCREEN_RESOURCES property.
Synopsis
char *XScreenResourceString(screen)
Screen *screen;
Arguments
screen Specifies the screen.
Returns
The property data string.
Availability
Release 5 and later.
Description
XScreenResourceString() returns the SCREEN_RESOURCES property from the root window of the specified screen. The property is converted from
type STRING to the current locale. The conversion is identical to that produced by XmbTextPropertyToTextList() for a singleton STRING
property. Note that the property value must be in a format that is acceptable to XrmGetStringDatabase(). If no property exists, NULL is
returned. The caller is responsible for freeing the returned string, using XFree().
XScreenResourceString() reads the window property each time it is requested. This differs from the behavior of XResourceManagerString()
which simply returns the value of the property as it was defined when the connection with the X server was established.
See Also
XResourceManagerString().
Xlib - Resource Manager XScreenResourceString()