XConvertSelection(display, selection, target, property, requestor, time)
Display *display;
Atom selection, target;
Atom property;
Window requestor;
Time time;
display | Specifies the connection to the X server. |
selection | Specifies the selection atom. |
target | Specifies the target atom. |
property | Specifies the property name. You also can pass None . |
requestor | Specifies the requestor. |
time | Specifies the time. You can pass either a timestamp or CurrentTime. |
The arguments are passed on unchanged in either of the events. There are two predefined selection atoms: PRIMARY and SECONDARY.
XConvertSelection() can generate BadAtom and BadWindow errors.
BadAtom | A value for an Atom argument does not name a defined Atom. |
BadWindow | A value for a Window argument does not name a defined Window. |