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.
clipboard |
the Clipboard |
selection_data |
a SelectionData argument in which the requested data should be stored. |
info |
the info field corresponding to the requested target from the TargetEntry array passed to set_with_data or set_with_owner. |
user_data_or_owner |
the |