[ CCode ( has_target = false ) ]
public delegate void ClipboardGetFunc (Clipboard clipboard, SelectionData selection_data, uint info, void* user_data_or_owner)

A function that will be called to provide the contents of the selection.

If multiple types of data were advertised, the requested type can be determined from the info parameter or by checking the target field of selection_data. If the data could successfully be converted into then it should be stored into the selection_data object by calling @set (or related functions such as set_text). If no data is set, the requestor will be informed that the attempt to get the data failed.



the Clipboard


a SelectionData argument in which the requested data should be stored.


the info field corresponding to the requested target from the TargetEntry array passed to set_with_data or set_with_owner.


the user_data argument passed to set_with_data, or the owner argument passed to set_with_owner

Namespace: Gtk
Package: gtk+-3.0