Scroll to navigation

XAnyEvent(3X11) XLIB FUNCTIONS XAnyEvent(3X11)

̾??

XAnyEvent, XEvent - ???? X ???٥??ȹ?¤??

??¤??

<X11/Xlib.h> ???????????Ƥ??????ƤΥ??٥??ȹ?¤?Τϼ??Τ褦?ʶ??̤Υ????Ф????ġ?

typedef struct {
	int type;
	unsigned long serial;	
	Bool send_event;	
	Display *display;	
	Window window;
} XAnyEvent;


type ?????Фˤϡ????٥??Ȥη??????դ˼??̤???????̾?????ꤵ???롣 ?㤨?С?X ?????Ф????饤?????ȥ??ץꥱ?????????? GraphicsExpose ???٥??Ȥ????Τ????Ȥ???X ?????Ф? type ?????Ф? GraphicsExpose ?????ꤷ?? XGraphicsExposeEvent ??¤?Τ????롣 display ?????Фˤϡ????٥??Ȥ??ɤ߽Ф??줿?ǥ????ץ쥤?ؤΥݥ??󥿤? ???ꤵ???롣 send_event ?????Фˤϡ????Υ??٥??ȼ??Ȥ? SendEvent ?ץ??ȥ????ꥯ?????Ȥ??????????Ƥ????????? True ?????ꤵ???롣 serial ?????Фϥץ??ȥ????????Τ??줿???ꥢ???ֹ??????????ꤵ???롣 ?????????Ǿ?????16?ӥåȤ??鴰??32?ӥåȤ??ͤ˳?ĥ?????롣 window ?????Фˤϡ??ġ??륭?åȤΥǥ????ѥå??㤬?Ǥ?ͭ???˻Ȥ??륦?? ???ɥ??????ꤵ???롣

XEvent ??¤?Τϡ??ƥ??٥??ȷ??Τ????????????????̤ι?¤?Τζ????ΤǤ??롣

typedef union _XEvent {
	int type;	
	XAnyEvent xany;
	XKeyEvent xkey;
	XButtonEvent xbutton;
	XMotionEvent xmotion;
	XCrossingEvent xcrossing;
	XFocusChangeEvent xfocus;
	XExposeEvent xexpose;
	XGraphicsExposeEvent xgraphicsexpose;
	XNoExposeEvent xnoexpose;
	XVisibilityEvent xvisibility;
	XCreateWindowEvent xcreatewindow;
	XDestroyWindowEvent xdestroywindow;
	XUnmapEvent xunmap;
	XMapEvent xmap;
	XMapRequestEvent xmaprequest;
	XReparentEvent xreparent;
	XConfigureEvent xconfigure;
	XGravityEvent xgravity;
	XResizeRequestEvent xresizerequest;
	XConfigureRequestEvent xconfigurerequest;
	XCirculateEvent xcirculate;
	XCirculateRequestEvent xcirculaterequest;
	XPropertyEvent xproperty;
	XSelectionClearEvent xselectionclear;
	XSelectionRequestEvent xselectionrequest;
	XSelectionEvent xselection;
	XColormapEvent xcolormap;
	XClientMessageEvent xclient;
	XMappingEvent xmapping;
	XErrorEvent xerror;
	XKeymapEvent xkeymap;
	long pad[24];
} XEvent;


XEvent ??¤?Τκǽ??Υ????ȥ??Ͼ??? type ?????ФǤ??롣 ?????ˤϥ??٥??Ȥη??????ꤵ???롣 2???ܤΥ????ФϾ??? serial ?????ФǤ??ꡢ?????ϥ??٥??Ȥ??????????ץ? ?ȥ????ꥯ?????ȤΥ??ꥢ???ֹ??Ǥ??롣 3???ܤΥ????ФϾ??? send_event ?Ǥ??롣 ?????ϥ??٥??Ȥ?¾?Υ??饤?????Ȥ??????????Ƥ??????ɤ????򼨤??????ͤ? ???롣 4???ܤΥ????ФϾ??? display ?Ǥ??롣 ?????ϥ??٥??Ȥ??ɤ߽Ф??줿?ǥ????ץ쥤?Ǥ??롣 keymap ???٥??Ȥ??????ȡ?5???ܤΥ????ФϾ??? window ?Ǥ??롣 ?????ϥġ??륭?åȤΥǥ????ѥå????ˤȤä??????ʤ褦?????տ??????Ф??롣 ?ġ??륭?åȤ???þ?????ʤ??????ˡ????????ǽ???5?ĤΥ????ȥ??ν??????? ?????ƤϤʤ??ʤ??? ¿???Υ??٥??Ȥ? time ?????Ф????ġ? ?????ϥ??٥??Ȥ?ȯ???????????Ǥ??롣 ?????ˡ????ѥ??٥??ȤؤΥݥ??󥿤ϡ???¤?Τ?¾?????Ǥ˥??????????????? ???㥹?Ȥ????ʤ????Фʤ??ʤ???

??Ϣ????

XButtonEvent(3X11), XCreateWindowEvent(3X11), XCirculateEvent(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

Release 6.5 X Version 11