Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XCirculateEvent(3X11) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XAnyEvent(3X11)

XButtonEvent(3X11)

XCreateWindowEvent(3X11)

XCirculateRequestEvent(3X11)

XColormapEvent(3X11)

XConfigureEvent(3X11)

XConfigureRequestEvent(3X11)

XCrossingEvent(3X11)

XDestroyWindowEvent(3X11)

XErrorEvent(3X11)

XExposeEvent(3X11)

XFocusChangeEvent(3X11)

XGraphicsExposeEvent(3X11)

XGravityEvent(3X11)

XKeymapEvent(3X11)

XMapEvent(3X11)

XMapRequestEvent(3X11)

XPropertyEvent(3X11)

XReparentEvent(3X11)

XResizeRequestEvent(3X11)

XSelectionClearEvent(3X11)

XSelectionEvent(3X11)

XSelectionRequestEvent(3X11)

XUnmapEvent(3X11)

XVisibilityEvent(3X11)

XCirculateEvent(3X11)  —  NEWS-OS Programmer’s Manual

イベント

XCirculateEvent − CirculateNotifyイベント構造体

構造体

CirculateNotify イベントの構造体は、以下の様になります。

typedef struct {
int type;/∗ CirculateNotify ∗/
unsigned long serial;/∗ サーバが最後に処理したリクエストの通し番号 ∗/
Bool send_event;/∗ SendEventリクエストからであれば、true ∗/
Display ∗display;/∗ イベントが読まれたディスプレイ ∗/
Window event;
Window window;
int place;/∗ PlaceOnTop, PlaceOnBottom ∗/
} XCirculateEvent;

上記のイベントを受信した場合、構造体のメンバーは以下の様に設定されます。 typeメンバは唯一無二のイベントタイプの名称に設定されます。 例えば、 Xサーバが GraphicsExpose イベントをアプリケーションに通知した場合、 typeメンバが GraphicsExpose である XGraphicsExposeEvent 構造体を送ります。 displayメンバはイベントが読まれたディスプレイへのポインタに設定されます。 send_eventメンバはイベントが SendEvent プロトコルリクエストからであれば Ture に設定されます。 serialメンバはプロトコルで通知された通し番号から設定されますが、 16ビットの最下位ビットデータから完全32ビットデータへ拡張されます。 windowメンバはツールキットのディスパッチャに最適のウィンドウに設定されます。 eventメンバは再スタックされたウィンドウまたはその親ウィンドウとなり、 StructureNotify または SubstructureNotify が選択されるかどうかにより決ります。 windowメンバは再スタックされたウィンドウに設定されます。 placeメンバは再スタックの発生後のウィンドウの位置に設定され、 PlaceOnTop または PlaceOnBottom. となります。 PlaceOnTop, である場合、全兄弟ウィンドウの最上位になります。また、 PlaceOnBottom, であれば、全兄弟ウィンドウの最下位になります。

関連事項

XAnyEvent(3X11)、 XButtonEvent(3X11)、 XCreateWindowEvent(3X11)、 XCirculateRequestEvent(3X11)、 XColormapEvent(3X11)、 XConfigureEvent(3X11)、 XConfigureRequestEvent(3X11)、 XCrossingEvent(3X11)、 XDestroyWindowEvent(3X11)、 XErrorEvent(3X11)、 XExposeEvent(3X11)、 XFocusChangeEvent(3X11)、 XGraphicsExposeEvent(3X11)、 XGravityEvent(3X11)、 XKeymapEvent(3X11)、 XMapEvent(3X11)、 XMapRequestEvent(3X11)、 XPropertyEvent(3X11)、 XReparentEvent(3X11)、 XResizeRequestEvent(3X11)、 XSelectionClearEvent(3X11)、 XSelectionEvent(3X11)、 XSelectionRequestEvent(3X11)、 XUnmapEvent(3X11)、 XVisibilityEvent(3X11)
Xlib − C Language X Interface

NEWS-OSRelease 4.1C

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