property_get


Description:


public int property_get (Window requestor, uint8[] data, out Atom prop_type, out int prop_format)

Retrieves selection data that was stored by the selection data in response to a call to convert.

This function will not be used by applications, who should use the GtkClipboard API instead.

Parameters:

requestor

the window on which the data is stored

data

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

prop_type

location to store the type of the property

prop_format

location to store the format of the property

Returns:

the length of the retrieved data.


Namespace: Gdk.Selection
Package: gdk-3.0