Scroll to navigation

XSetCommand(3X11) XLIB FUNCTIONS XSetCommand(3X11)

̾??

XSetCommand, XGetCommand - ???????ɥ??? WM_COMMAND ?ץ??ѥƥ????????ȼ??????Ԥʤ?

????

XSetCommand(display, w, argv, argc)
Display *display;
Window w;
char **argv;
int argc;

Status XGetCommand(display, w, argv_return, argc_return)
Display *display;
Window w;
char ***argv_return;
int *argc_return;

??????

???????ο??????ꤹ?롣
?֤????????????ο????֤????롣
???ץꥱ?????????ΰ??????ꥹ?Ȥ????ꤹ?롣
???ץꥱ?????????ΰ??????ꥹ?Ȥ??֤????롣
X ?????Фؤ???³?????ꤹ?롣
???????ɥ??????ꤹ?롣

????

?ؿ? XSetCommand ?ϥ??ץꥱ?????????ε?ư?˻Ȥ??줿???ޥ??ɤȰ??????????ꤹ?롣 (?̾??ϡ?argv ?ϥ??ץꥱ?????????Υᥤ???ץ????????? argv ?????Ǥ??롣) ʸ?????Υ??󥳡??ǥ??󥰤??ۥ??ȥݡ????֥?ʸ?????󥳡??ǥ??󥰤Ǥʤ??? ?硢?¹Է??̤ϼ?????¸?Ǥ??롣

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

?ؿ? XGetCommand ?ϻ??ꤷ?????????ɥ??? WM_COMMAND ?ץ??ѥƥ???????????ʸ?????Υꥹ?Ȥ? ?֤??? WM_COMMAND ?ץ??ѥƥ???¸?ߤ????ʤ??С??????? STRING ?????ե????ޥå? 8 ?Ǥ??롣 ʸ?????Υꥹ?Ȥ???Ǽ?????Τ˽?ʬ?ʥ????꤬???????Ƥ??????С? XGetCommand ?ϰ????? argv_return ?? argc_return ?????ꤷ??0 ?Ǥʤ????ơ????????֤??? ?????Ǥʤ????Х??ơ??????Ȥ??? 0 ???֤??? ?????Ф??֤??ǡ????Υ??󥳡??ǥ??󥰤? Latin ?ݡ????֥?ʸ?????󥳡??ǥ? ?󥰤ʤ??С??ؿ????֤?ʸ?????Υ??󥳡??ǥ??󥰤ϥۥ??ȥݡ????֥?ʸ???? ?󥳡??ǥ??󥰤Ǥ??롣 ?????Ǥʤ??????η??̤ϼ?????¸?Ǥ??롣 ʸ?????ꥹ?Ȥ??Ф??Ƴ??????Ƥ??????????????????ˤ? XFreeStringList ?????Ѥ??뤳?ȡ?

?ץ??ѥƥ?

???ޥ??ɤȰ???????NULL ?ǽ?????ʸ?????ǡ????ץꥱ?????????ε?ư?˻??Ѥ? ?줿???Ρ?

?֤???

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

??Ϣ????

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

Release 6.5 X Version 11