gdk.event_selection
Module for [EventSelection] class
class EventSelection
Types 1
classEventSelection
Generated when a selection is requested or ownership of a selection is taken over by another client application.
Fields
GdkEventSelection _cInstanceMethods
void * _cPtr() nothrowgdk.types.EventType type() @property nothrowGet `type` field. Returns: the type of the event ([gdk.types.EventType.SelectionClear], [gdk.types.EventType.SelectionNotify] or [gdk.types.EventType.SelectionRequest]).void type(gdk.types.EventType propval) @property nothrowSet `type` field. Params: propval = the type of the event ([gdk.types.EventType.SelectionClear], [gdk.types.EventType.SelectionNotify] or [gdk.types.EventType.SelectionRequest]).gdk.window.Window window() @property nothrowGet `window` field. Returns: the window which received the event.void window(gdk.window.Window propval) @property nothrowSet `window` field. Params: propval = the window which received the event.byte sendEvent() @property nothrowGet `sendEvent` field. Returns: true if the event was sent explicitly.void sendEvent(byte propval) @property nothrowSet `sendEvent` field. Params: propval = true if the event was sent explicitly.gdk.atom.Atom target() @property nothrowGet `target` field. Returns: the target to which the selection should be converted.gdk.atom.Atom property() @property nothrowGet `property` field. Returns: the property in which to place the result of the conversion.void time(uint propval) @property nothrowSet `time` field. Params: propval = the time of the event in milliseconds.gdk.window.Window requestor() @property nothrowGet `requestor` field. Returns: the window on which to place @property or null if none.void requestor(gdk.window.Window propval) @property nothrowSet `requestor` field. Params: propval = the window on which to place @property or null if none.