Package: gdk

Function gdk-selection-property-get

Lambda List

gdk-selection-property-get (requestor)

Arguments

requestor -- a gdk-window object on which the data is stored

Return Value

length -- an integer with the length of the retrieved data
data -- a foreign pointer to the retrieved data
type -- a gdk-atom as as string with the type of the property
format -- an integer with the format of the property

Details

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

If the retrieval failed, nil will be returned, otherwise, it will be non-nil and the returned data should be freed with the g-free function 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.
 

See also

2021-10-3