Description Usage Arguments Value Note Author(s)
Retrieves a portion of the contents of a property. If the
property does not exist, then the function returns FALSE
,
and GDK_NONE
will be stored in actual.property.type
.
1 | gdkPropertyGet(object, property, type, offset, length, pdelete)
|
|
a |
|
the property to retrieve. |
|
the desired property type, or |
|
the offset into the property at which to begin retrieving data, in 4 byte units. |
|
the length of the data to retrieve in bytes. Data is
considered to be retrieved in 4 byte chunks, so |
|
if |
A list containing the following elements:
retval |
[logical] |
|
location to store the actual type of the property. |
|
location to store the actual return format of the data; either 8, 16 or 32 bits. |
|
location to store the length of the retrieved data, in
bytes. Data returned in the 32 bit format is stored
in a long variable, so the actual number of 32 bit
elements should be be calculated via
|
|
location to store a pointer to the data. The retrieved
data should be freed with |
The xgetwindowproperty()
function that gdkPropertyGet
uses has a very confusing and complicated set of semantics.
Unfortunately, gdkPropertyGet
makes the situation
worse instead of better (the semantics should be considered
undefined), and also prints warnings to stderr in cases where it
should return a useful error to the program. You are advised to use
xgetwindowproperty()
directly until a replacement function for
gdkPropertyGet
is provided.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.