Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XReparentEvent(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)

XResizeRequestEvent(3X)

XSelectionClearEvent(3X)

XSelectionEvent(3X)

XSelectionRequestEvent(3X)

XUnmapEvent(3X)

XVisibilityEvent(3X)




XReparentEvent(3X) XReparentEvent(3X)
NAME XReparentEvent - structure for ReparentNotify events DESCRIPTION XReparentEvent is a structure for ReparentNotify events. The structure is defined as follows: typedef struct { int type; /* ReparentNotify */ 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 event; Window window; Window parent; int x, y; Bool override_redirect; } XReparentEvent; 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, which, in this case, is the window that was reparented. The event member is set either to the reparented window or to the old or the new parent, depending on whether StructureNotify or SubstructureNotify was selected. The parent member is set to the new parent window. The x and y members are set to the reparented window's coordinates rela- tive to the new parent window's origin and define the upper-left outer corner of the reparented window. The override_redirect member is set to the override-redirect attribute of the window specified by the window member. Window manager clients normally should ig- nore this window if the override_redirect member is TRUE. November, 1990 1



XReparentEvent(3X) XReparentEvent(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), XResizeRequestEvent(3X), XSelectionClearEvent(3X), XSelectionEvent(3X), XSelectionRequestEvent(3X), XUnmapEvent(3X), XVisibilityEvent(3X)
Xlib - C Language Interface
2 November, 1990

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