XSetWMName(3X11) | XLIB FUNCTIONS | XSetWMName(3X11) |
̾??¶
XSetWMName, XGetWMName, XStoreName, XFetchName - ???????ɥ??? WM_NAME ?ץ??ѥƥ??????ꡦ???????Ԥʤ?
????¶
void XSetWMName(display, w, text_prop)
Display *display;
Window w;
XTextProperty *text_prop;
Status XGetWMName(display, w,
text_prop_return)
Display *display;
Window w;
XTextProperty *text_prop_return;
XStoreName(display, w, window_name)
Display *display;
Window w;
char *window_name;
Status XFetchName(display, w,
window_name_return)
Display *display;
Window w;
char **window_name_return;
??????¶
- display
- X ?????Фؤ???³?????ꤹ?롣
- text_prop
- ?Ȥ????? XTextProperty ??¤?Τ????ꤹ?롣
- text_prop_return
- XTextProperty ??¤?Τ??֤????롣
- w
- ???????ɥ??????ꤹ?롣
- window_name
- ???????ɥ?̾?????ꤹ?롣 ?????? NULL ?ǽ?????ʸ?????Ǥʤ????Фʤ??ʤ???
- window_name_return
- ???????ɥ?̾???֤????롣 ?????? NULL ?ǽ?????ʸ?????Ǥ??롣
????¶
?ʰ״ؿ? XSetWMName ?ϡ? XSetTextProperty ???ƤӽФ??? WM_NAME ?ץ??ѥƥ??????ꤹ?롣
?ʰ״ؿ? XGetWMName ?ϡ? XGetTextProperty ???ƤӽФ??? WM_NAME ?ץ??ѥƥ??????????롣 ???δؿ??????????ˤ? 0 ?Ǥʤ????ơ????????֤????????Ǥʤ??????ˤ? ???ơ??????Ȥ??? 0 ???֤???
?ؿ? XStoreName ?? window_name ???Ϥ??줿̾???????ꤵ?줿???????ɥ??˳????դ??롣 ???????ɥ??ޥ͡??????ϥ??????ɥ?̾?????ɥ?????Ω?ľ???(?㤨?Х??? ?ȥ??С?)??ɽ???????桼???????????ɥ????ưפ˼??̤Ǥ????褦?ˤ??뤳?Ȥ??Ǥ??롣 ???ץꥱ???????饢??????̾??Ϳ?????줿???硢???????ɥ??Υ????????? ?ϥ???????̾???Ȥ????Ȥ??侩?????Ƥ??뤬?????????ɥ??ޥ͡??????ˤ??äƤ? ???????ɥ?̾????????ɽ?????뤫?⤷???ʤ??? ʸ?????Υ????ǥ????ۥ??ȥݡ????֥?ʸ???????ǥ??Ǥʤ??? ???ˤϡ??¹Է??̤ϼ?????¸?Ǥ??롣
XStoreName ?ϥ??顼 BadAlloc ?????? BadWindow ???????Ȥ????롣
?ؿ? XFetchName ?ϻ??ꤷ?????????ɥ???̾?????֤??? ???????ˤϤ??δؿ??? 0 ?Ǥʤ????ơ????????֤??? ?????Ǥʤ????硢???????ɥ???̾???????ꤵ?줿???Ȥ??????С????δؿ??? 0 ???֤??? ???Υ??????ɥ????Ф??? WM_NAME ?ץ??ѥƥ???1?٤????ꤵ?줿???Ȥ??ʤ? ???С? XFetchName ?? window_name_return ?? NULL ?????ꤹ?롣 ?????Ф??֤?ʸ?????Υ????ǥ??? Latin ?ݡ????֥?ʸ???????ǥ? ?Ǥ????С??֤?????ʸ?????Υ????ǥ??? ?ۥ??ȥݡ????֥?ʸ???????ǥ??Ǥ??롣 ?????Ǥʤ??????η??̤ϼ?????¸?Ǥ??롣 ???????ɥ?̾??ʸ???????Ȥ????ä????ˤϡ????饤?????Ȥ? XFree ???ȤäƤ????????????ʤ????Фʤ??ʤ???
XFetchName ?ϥ??顼 BadWindow ???????Ȥ????롣
?ץ??ѥƥ?¶
- WM_NAME
- ???ץꥱ??????????̾????
?֤???¶
??Ϣ????¶
XAllocClassHint(3X11), XAllocIconSize(3X11),
XAllocSizeHints(3X11), XAllocWMHints(3X11), XFree(3X11), XSetCommand(3X11),
XSetTransientForHint(3X11), XSetTextProperty(3X11),
XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11),
XSetWMIconName(3X11), XSetWMProperties(3X11), XSetWMProtocols(3X11),
XStringListToTextProperty(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |