FALSE
,
and GDK_NONE
will be stored in actual.property.type
.gdkPropertyGet(object, property, type, offset, length, pdelete)
property
GdkAtom
] the property to retrieve.type
GdkAtom
] the desired property type, or GDK_NONE
, if any type of data
is acceptable. If this does not match the actual
type, then actual.format
and actual.lengt
offset
length
length
will be rounded up to the next highest 4 byte boundary
(so be careful not to pass a value thatpdelete
TRUE
, delete the property after retrieving the
data.TRUE
if data was sucessfully received and stored
in data
, otherwise FALSE
.actual.property.type
GdkAtom
] location to store the actual type of
the property.actual.format
actual.length
actual.length
/sizeof(glong) to ensure portability to
64 bit systems.data
g() when you are finished
using it.
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.