FrontPage > C/C++ > X11 > XEvent > XKeyEvent

XKeyEvent

/*

* Definitions of specific events.
*/
typedef struct {
       int type;                       /* of event */
       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 window;                  /* "event" window it is reported relative to */
       Window root;                    /* root window that the event occurred on */
       Window subwindow;               /* child window */
       Time time;                      /* milliseconds */
       int x, y;                       /* pointer x, y coordinates in event window */
       int x_root, y_root;             /* coordinates relative to root */
       unsigned int state;             /* key or button mask */
       unsigned int keycode;           /* detail */
       Bool same_screen;               /* same screen flag */
} XKeyEvent;
typedef XKeyEvent XKeyPressedEvent;
typedef XKeyEvent XKeyReleasedEvent;

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-08-24 (日) 16:21:40