Selection.propertyGet

Retrieves selection data that was stored by the selection data in response to a call to Selection.convert. This function will not be used by applications, who should use the gtk.Clipboard API instead.

struct Selection
static
int
propertyGet

Parameters

requestor Window

the window on which the data is stored

data char*

location to store a pointer to the retrieved data. If the retrieval failed, NULL we be stored here, otherwise, it will be non-NULL and the returned data should be freed with g_free() when you are finished using it. The length of the allocated memory is one more than the length of the returned data, and the final byte will always be zero, to ensure nul-termination of strings

propType GdkAtom*

location to store the type of the property

propFormat int*

location to store the format of the property

Return Value

Type: int

the length of the retrieved data.