Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSelectionEvent(3X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XAnyEvent(3X)

XButtonEvent(3X)

XCreateWindowEvent(3X)

XCirculateEvent(3X)

XCirculateRequestEvent(3X)

XColormapEvent(3X)

XConfigureEvent(3X)

XConfigureRequestEvent(3X)

XCrossingEvent(3X)

XDestroyWindowEvent(3X)

XErrorEvent(3X)

XExposeEvent(3X)

XFocusChangeEvent(3X)

XGraphicsExposeEvent(3X)

XGravityEvent(3X)

XKeymapEvent(3X)

XMapEvent(3X)

XMapRequestEvent(3X)

XPropertyEvent(3X)

XReparentEvent(3X)

XResizeRequestEvent(3X)

XSelectionClearEvent(3X)

XSelectionRequestEvent(3X)

XUnmapEvent(3X)

XVisibilityEvent(3X)




XSelectionEvent(3X) XSelectionEvent(3X)
NAME XSelectionEvent - structure for SelectionNotify events DESCRIPTION XSectionNotifyEvent is a structure for SelectionNotify events. This structure is defined as fol- lows. typedef struct { int type; /* SelectionNotify */ unsigned long serial;/* # of last request */ /* processed by server */ Bool send_event;/* TRUE if this came */ /* from a SendEvent request */ Display *display;/* Display the event */ /* was read from */ Window requestor; Atom selection; Atom target; Atom property;/* atom or None */ Time time; } XSelectionEvent; When this event is received, the structure members are set as follows. The type member is set to the event type constant name that uniquely identifies it. For example, when the X server re- ports a GraphicsExpose event to a client application, it sends an XGraphicsExposeEvent structure with the type member set to GraphicsExpose. The display member is set to a pointer to the display the event was read on. The send_event member is set to TRUE if the event came from a SendEvent protocol request. The serial member is set from the serial number reported in the protocol but expanded from the 16-bit least-significant bits to a full 32-bit value. The window member is set to the window that is most useful to toolkit dispatchers. The requestor member is set to the window associated with the requester of the selection. The selection member is set to the atom that indicates the selection. For example, PRI- MARY is used for the primary selection. The target member is set to the atom that indicates the converted type. For example, PIXMAP is used for a pixel map. The property member is set to the atom that indicates which property the result was stored on. If the conversion failed, the proper- ty member is set to None. The time member is set to the time the conversion took place and can be a timestamp or CurrentTime. November, 1990 1



XSelectionEvent(3X) XSelectionEvent(3X)
SEE ALSO XAnyEvent(3X), XButtonEvent(3X), XCreateWindowEvent(3X), XCirculateEvent(3X), XCirculateRequestEvent(3X), XColormapEvent(3X), XConfigureEvent(3X), XConfigureRequestEvent(3X), XCrossingEvent(3X), XDestroyWindowEvent(3X), XErrorEvent(3X), XExposeEvent(3X), XFocusChangeEvent(3X), XGraphicsExposeEvent(3X), XGravityEvent(3X), XKeymapEvent(3X), XMapEvent(3X), XMapRequestEvent(3X), XPropertyEvent(3X), XReparentEvent(3X), XResizeRequestEvent(3X), XSelectionClearEvent(3X), XSelectionRequestEvent(3X), XUnmapEvent(3X), XVisibilityEvent(3X)
Xlib - C Language Interface
2 November, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026