Scroll to navigation

XSelectExtensionEvent(3X11) X FUNCTIONS XSelectExtensionEvent(3X11)

̾??

XSelectExtensionEvent, XGetSelectedExtensionEvents - ??ĥ???٥??Ȥ????򡢸??????򤵤??Ƥ?????ĥ???٥??ȤΥꥹ?Ȥμ??????Ԥʤ?

????

XSelectExtensionEvent(display, w, event_list, event_count)
Display *display;
Window w;
XEventClass *event_list;
int event_count;

XGetSelectedExtensionEvents(display, w, this_client_event_count_return,
this_client_event_list_return, all_clients_event_count_return, all_clients_event_list_return)
Display *display;
Window w;
int this_client_event_count_return;
XEventClass *this_client_event_list_return;
int all_clients_event_count_return;
XEventClass *all_clients_event_list_return;

??????

X ?????Фؤ???³?????ꤹ?롣
???ܤ??륤?٥??Ȥ??????? ???????ɥ??????ꤹ?롣
???ܤ??륤?٥??Ȥ򵭽Ҥ??륤?٥??ȥ??饹?Υꥹ?Ȥ????ꤹ?롣
???٥??ȥꥹ?????Υ??٥??ȥ??饹?ο??????ꤹ?롣
???Υ??饤?????Ȥˤ??ä????򤵤줿???٥??ȥ??饹?ο????֤????롣
???Υ??饤?????Ȥˤ??ä????򤵤줿???٥??ȥ??饹?Υꥹ?ȤؤΥݥ??󥿤? ?֤????롣
???ƤΥ??饤?????Ȥˤ??ä????򤵤줿???٥??ȥ??饹?ο????֤????롣
???ƤΥ??饤?????Ȥˤ??ä????򤵤줿???٥??ȥ??饹?Υꥹ?ȤؤΥݥ????? ???֤????롣

????

XSelectExtensionEvent ?ꥯ?????Ȥϡ????ꤷ?????٥??ȥ??饹?? ?ꥹ?Ȥ˴ط????륤?٥??Ȥ? X ?????Ф????Τ????褦?ˤ????롣 ???????֤Ǥϡ?X ?Ϥ??Τ褦?ʥ??٥??Ȥϰ??????Τ??ʤ??? ???٥??Ȥϡ????????ɥ??˴?Ϣ?դ??????????Τ????롣 ???륦?????ɥ????ǥХ??????٥??Ȥ????ܤ??Ƥ??ʤ????硢???Υ??٥??Ȥ? ???Υ??٥??Ȥ????ܤ??Ƥ????Ǥ??ᤤ???襦?????ɥ??????Ť??롣

?ʲ??????¤Ĥ??ǡ?ʣ???Υ??饤?????Ȥ?Ʊ?????????ɥ???Ʊ?????٥??Ȥ? ???򤹤뤳?Ȥ??Ǥ??롣

  • ʣ???Υ??饤?????Ȥ?Ʊ?????????ɥ????Υ??٥??Ȥ??????Ǥ????Τϡ??????? ?Υ??٥??ȥޥ??????ߤ??˶?????ʬ???????ʤ??????Ǥ??롣 X ?????Ф????٥??Ȥ??????????Ȥ???X ?????ФϤ????????ܤ??Ƥ??? ???饤?????????Ƥ˥??ݡ??Ȥ??롣
  • Ʊ????1?Ĥ????Υ??饤?????Ȥ???ư?ѥå??֥?????(automatic passive grabbing)??ͭ???ˤ??????֤? DeviceButtonPress ???٥??Ȥ????? ?Ǥ??롣 ?????ϡ????٥??ȥ??饹 DeviceButtonPressGrab ?˴?Ϣ???롣 ??ư?ѥå??֥????֤??Ȥ??ʤ??? DeviceButtonPress ???٥??Ȥ????? ???뤿???ˤϡ????٥??ȥ??饹 DeviceButtonPress ???Ȥ??????٥??? ???饹 DeviceButtonPressGrab ?????ꤷ?ƤϤʤ??ʤ???

?????Фϥ??٥??Ȥ????ܤ??Ƥ??????ƤΥ??饤?????Ȥ????Τ??롣

XOpenDevice ???֤? XDevice ??¤?Τ˴ޤޤ????????ϡ? ???饤?????Ȥ? XSelectExtensionEvent ?ꥯ?????Ȥ??????ݤ˻Ȥ??? ???٥??ȥ??饹???????????ޥ????˻Ȥ????롣 ?????????????Ƥ????ޥ????? DeviceKeyPress, DeviceKeyRelease, DeviceButtonPress, DeviceButtonRelese, DeviceMotionNotify, DeviceFocusIn, DeviceFocusOut, ProximityIn, ProximityOut, DeviceStateNotify, DeviceMappiingNotify, ChangeDeviceNotify, DevicePointerMotionHint, DeviceButton1Motion, DeviceButton2Motion, DeviceButton3Motion, DeviceButton4Motion, DeviceButton5Motion, DeviceButtonMotion, DeviceOwnerGrabButton, DeviceButtonPressGrab, NoExtensionEvent ?Ǥ??롣

?????ǥХ?????Ŭ?ڤʥ??٥??ȥ??饹?????뤿???ˤϡ????ΥǥХ??????Ф??? XDevice ??¤?Τ??Ȥäƾ嵭?Υޥ?????1?Ĥ??ƤӽФ????롣 ?㤨?С?

DeviceKeyPress (*device, type, eventclass);

?? ???٥??ȷ? DeviceKeyPress ?ȡ????ΥǥХ??????????򤷤Ƥ??? DeviceKeyPress ???٥??Ȥ??Ф??륤?٥??ȥ??饹???֤???

XSelectExtensionEvent ?ϥ??顼 BadWindow ?????? BadClass ?򵯤??????Ȥ????롣 XEventClass arrays. One lists the input extension events selected by this client from the specified window. The other lists the event classes selected by all clients from the specified window. You should use XFree to free these two arrays. XGetSelectedExtensionEvents ?ꥯ?????Ȥϡ????ꤷ?????????ɥ????Ф??Ƥ??Υ??饤?????Ȥ????????Ƥ? ???饤?????Ȥ????򤷤Ƥ?????ĥ???٥??Ȥ????Τ??롣 ???Υꥯ?????Ȥ?2?Ĥ? XEventClass ?????????֤????????ϡ????ꤷ?? ???????ɥ????餳?Υ??饤?????Ȥ????򤷤????ϳ?ĥ???٥???(input extention events)?????󤷤????ΤǤ??롣¾???ϻ??ꤷ?????????ɥ??????? ?ƤΥ??饤?????Ȥ????򤷤????٥??ȥ??饹?????󤷤????ΤǤ??롣 ??????2?Ĥ????????????????ˤϡ?XFree ?????Ѥ??뤳?ȡ?

XGetSelectedExtensionEvents ?ϥ??顼 BadWindow ?򵯤??????Ȥ????롣

?֤???

?????? Window ???ͤ????????????Ƥ??? Window ???ؤ??Ƥ??ʤ???
?????? XEventClass ???ͤ??????Ǥ??롣

??Ϣ????

Programming with Xlib

Release 6.5 X Version 11