SelectionData.convert

Requests the contents of a selection. When received, a “selection-received” signal will be generated.

class SelectionData
static
bool
convert

Parameters

widget Widget

The widget which acts as requestor

selection GdkAtom

Which selection to get

target GdkAtom

Form of information desired (e.g., STRING)

time uint

Time of request (usually of triggering event) In emergency, you could use GDK_CURRENT_TIME

Return Value

Type: bool

TRUE if requested succeeded. FALSE if we could not process request. (e.g., there was already a request in process for this widget).