Scroll to navigation

XSetWMProtocols(3X11) XLIB FUNCTIONS XSetWMProtocols(3X11)

̾??

XSetWMProtocols, XGetWMProtocols - ???????ɥ??? WM_PROTOCOLS ?ץ??ѥƥ??????ꡦ???????Ԥʤ?

????

Status XSetWMProtocols(display, w, protocols, count)
Display *display;
Window w;
Atom *protocols;
int count;

Status XGetWMProtocols(display, w, protocols_return, count_return)
Display *display;
Window w;
Atom **protocols_return;
int *count_return;

??????

X ?????Фؤ???³?????ꤹ?롣
???????ɥ??????ꤹ?롣
?ꥹ?????Υץ??ȥ??? ?ο??????ꤹ?롣
?ꥹ?????Υץ??ȥ????ο????֤???
?ץ??ȥ????Υꥹ?Ȥ????ꤹ?롣
?ץ??ȥ????Υꥹ?Ȥ??֤???

????

?ؿ? XSetWMProtocols ?ϡ????ꤷ?????????ɥ??? WM_PROTOCOLS ?ץ??ѥƥ??򡢰????? protocols ?? ???ꤷ?????ȥ??Υꥹ?Ȥ??֤??????롣 ???Υץ??ѥƥ????????˻??ꤵ???Ƥ??ʤ????С? XSetWMProtocols ?ϰ????? protocols ?ǻ??ꤵ?줿???ȥ??Υꥹ?Ȥ????ꤵ?줿???????ɥ??? WM_PROTOCOLS ?ץ??ѥƥ??????ꤹ?롣 ?ץ??ѥƥ??? ATOM ?????ե????ޥå? 32 ???ݻ??????롣 WM_PROTOCOLS ???ȥ??????ݤǤ??ʤ????С? XSetWMProtocols ?ϥ??ơ??????Ȥ??? 0 ???֤??? ?????Ǥʤ????С????δؿ??? 0 ?Ǥʤ????ơ????????֤???

XSetWMProtocols ?ϥ??顼 BadAlloc, BadWindow ?򵯤??????Ȥ????롣

?ؿ? XGetWMProtocols ?ϡ????ꤷ?????????ɥ??? WM_PROTOCOLS ?ץ??ѥƥ????ݻ??????Ƥ??륢?ȥ??? ?ꥹ?Ȥ??֤??? ???????Υ??ȥ??ˤϡ????????ɥ??ޥ͡??????Υץ??ȥ????????? ???Υ??????ɥ??ν?ͭ?Ԥ????ѤǤ??????Τ򵭽Ҥ??롣

?⤷?ץ??ѥƥ???¸?ߤ???ATOM ?????ե????ޥå? 32 ?Ǥ??ꡢ???ȥ? WM_PROTOCOLS ?????ݤǤ????ʤ??С? XGetWMProtocols ?ϰ????? protocols_return ?˥??ȥ??Υꥹ?Ȥ????ꤷ???????? count_return ?˥ꥹ?Ȥ????ǿ??????ꤷ?ơ?0 ?Ǥʤ????ơ????????֤??? ?????Ǥʤ??????ϡ????????ΰ??????⥻?åȤ??줺??0 ?????ơ??????Ȥ??? ?֤????롣 ???ȥ??Υꥹ?Ȥ??????????ˤϡ? XFree ?????Ѥ??뤳?ȡ?

XGetWMProtocols ?ϥ??顼 BadWindow ?򵯤??????Ȥ????롣

?ץ??ѥƥ?

???饤?????Ȥȡ????饤?????Ȥ???°???褦?Ȥ??Ƥ??륦?????ɥ??ޥ͡????? ?֤??̿??ץ??ȥ????????ꤹ?륢?ȥ??Υꥹ?ȡ?

?֤???

?׵ᤵ?줿?꥽?????䥵???Х??????γ??????Ƥ˥????Ф????Ԥ?????
?????? Window ???ͤ????????????Ƥ??? Window ???ؤ??Ƥ??ʤ???

??Ϣ????

XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11), XFree(3X11), XSetCommand(3X11), XSetTransientForHint(3X11), XSetTextProperty(3X11), XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11), XSetWMName(3X11), XSetWMProperties(3X11), XStringListToTextProperty(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11