XSetWMProperties(3X11) | XLIB FUNCTIONS | XSetWMProperties(3X11) |
̾??¶
XSetWMProperties, XmbSetWMProperties, Xutf8SetWMProperties - ɸ???Υ??????ɥ??ץ??ѥƥ??????ꤹ??
????¶
void XSetWMProperties(display, w,
window_name, icon_name, argv, argc,
normal_hints, wm_hints, class_hints)
Display *display;
Window w;
XTextProperty *window_name;
XTextProperty *icon_name;
char **argv;
int argc;
XSizeHints *normal_hints;
XWMHints *wm_hints;
XClassHint *class_hints;
void XmbSetWMProperties(display, w,
window_name, icon_name, argv, argc,
normal_hints, wm_hints, class_hints)
Display *display;
Window w;
char *window_name;
char *icon_name;
char *argv[];
int argc;
XSizeHints *normal_hints;
XWMHints *wm_hints;
XClassHint *class_hints;
void Xutf8SetWMProperties(display, w,
window_name, icon_name, argv, argc,
normal_hints, wm_hints, class_hints)
Display *display;
Window w;
char *window_name;
char *icon_name;
char *argv[];
int argc;
XSizeHints *normal_hints;
XWMHints *wm_hints;
XClassHint *class_hints;
??????¶
- argc
- ???????ο??????ꤹ?롣
- argv
- ???ץꥱ?????????ΰ??????ꥹ?Ȥ????ꤹ?롣
- class_hints
- ???Ѥ??? XClassHint ??¤?Τ????ꤹ?롣
- display
- X ?????Фؤ???³?????ꤹ?롣
- icon_name
- ????????̾?????ꤹ?롣 ?????? NULL ?ǽ?????ʸ?????Ǥʤ????Фʤ??ʤ???
- normal_hints
- ???????ɥ????̾??ξ??֤ǤΥ??????ҥ??Ȥ????ꤹ?롣
- w
- ???????ɥ??????ꤹ?롣
- window_name
- ???????ɥ?̾?????ꤹ?롣 ?????? NULL ?ǽ?????ʸ?????Ǥʤ????Фʤ??ʤ???
- wm_hints
- ???Ѥ??? XWMHints ??¤?Τ????ꤹ?롣
????¶
?ʰ״ؿ? XSetWMProperties ?ϡ?¾?Υ??饤??????(?ä˥??????ɥ??ޥ͡??????䥻?å??????ޥ͡?????)?Ȥ??? ???˻Ȥ????????פʥ??????ɥ??ץ??ѥƥ??????ꤹ?뤿????ñ???Υץ??????? ???ե??????????롣
?????? window_name ?? NULL ?Ǥʤ????С? XSetWMProperties ?? XSetWMName ???ƤӽФ??? WM_NAME ?ץ??ѥƥ??????ꤹ??(14.1.4 ????)?? ?????? icon_name ?? NULL ?Ǥʤ????С? XSetWMProperties ?? XSetWMIconName ???ƤӽФ??? WM_ICON_NAME ?ץ??ѥƥ??????ꤹ??(14.1.5 ????)?? ?????? argv ?? NULL ?Ǥʤ????С? XSetWMProperties ?? XSetCommand ???ƤӽФ??? WM_COMMAND ?ץ??ѥƥ??????ꤹ??(14.2.1????)?? argc ?? 0 ?ˤ???Ĺ???? 0 ?Υ??ޥ??ɤ??ؼ????Ƥ??褤???????դ??뤳?ȡ? ?ޤ??????Υޥ????Υۥ???̾?? XSetWMClientMachine ???Ȥä???¸?????Ƥ??????ˤ????դ??뤳??(14.2.2 ????)??
?????? normal_hints ?? NULL ?Ǥʤ????С? XSetWMProperties ?? .ZN XSetWMNormalHints ???ƤӽФ??????δؿ??? WM_NORMAL_HINTS ?????ꤹ??(14.1.7 ????)?? ?????? wm_hints ?? NULL ?Ǥʤ????С? XSetWMProperties ?? XSetWMHints ???ƤӽФ??? WM_HINTS ?ץ??ѥƥ??????ꤹ??(14.1.6 ????)??
?????? class_hints ?? NULL ?Ǥʤ????С? XSetWMProperties ?? XSetClassHint ???ƤӽФ??? WM_CLASS ?ץ??ѥƥ??????ꤹ??(14.1.8 ????)?? XClassHint ??¤?Τ? res_name ?????Ф? NULL ?ݥ??????ꤵ???Ƥ??ꡢ???? RESOURCE_NAME ?Ķ??ѿ??????ꤵ???Ƥ????С??Ķ??ѿ????ͤ? res_name ?? ?????????롣 ?⤷ res_name ?????Ф? NULL ?Ǥ??ꡢ?Ķ??ѿ??????ꤵ???Ƥ??餺??argv ?? argv[0] ?????ꤵ???Ƥ????????ˤ? argv[0] ???ͤ????ǥ??쥯?ȥ??Υץ??ե??å??????????????????Τ? res_name ???????????롣
?ʰ״ؿ? XmbSetWMProperties ?????? Xutf8SetWMProperties ??¾?Υ??饤??????(?ä˥??????ɥ??ޥ͡??????ȥ??å??????ޥ͡?????)?Ȥ? ?̿????Ѥ??????????פʥ??????ɥ??ץ??ѥƥ??????ꤹ?뤿???Ρ???ñ?? ?ץ??????ߥ??ե??????????롣
?⤷?????? window_name ?? NULL ?Ǥʤ????С????????δؿ? ?? WM_NAME ?ץ??ѥƥ??????ꤹ?롣 ?⤷?????? icon_name ?? NULL ?Ǥʤ????С????????δؿ? ?? WM_ICON_NAME ?ץ??ѥƥ??????ꤹ?롣 window_name ?? icon_name ?ΰ??????Ϥɤ????? NULL ?ǽ?????ʸ?????Ǥ??ꡢ XmbSetWMProperties ?ξ????ϸ??ߤΥ????????Υ????ǥ??? Xutf8SetWMProperties ?ξ????? UTF-8 ?????ǥ??Ǥ??롣 ?⤷?????????????? STRING ?????ǥ????Ѵ??Ǥ??????硢?ץ??ѥƥ??? ``STRING'' ?????????????롣 ?????Ǥʤ????硢???????ϥ????ѥ????ɥƥ?????(compound text)???Ѵ????졢 ?ץ??ѥƥ??? ``COMPOUND_TEXT'' ?????????????롣
?????? normal_hints ?? NULL ?Ǥʤ????硢 XmbSetWMProperties ?? Xutf8SetWMProperties ?? XSetWMNormalHints ???ƤӽФ??? ???δؿ??? WM_NORMAL_HINTS ?ץ??ѥƥ??????ꤹ??(14.1.7 ????)?? ?????? wm_hints ?? NULL ?Ǥʤ????硢 XmbSetWMProperties ?? Xutf8SetWMProperties ?? XSetWMHints ???ƤӽФ??? ???δؿ??? WM_HINTS ?ץ??ѥƥ??????ꤹ??(14.1.6 ?Ỳ??)??
?????? argv ?? NULL ?Ǥʤ????硢 XmbSetWMProperties ?? Xutf8SetWMProperties ?? argv ?? argc ???ͤ??Ȥä? WM_COMMAND ?ץ??ѥƥ??????ꤹ?롣 argc ?? 0 ?ξ????ϡ????ޥ??ɤ?Ĺ???? 0 ?Ǥ????Ȥ?????̣?ˤʤ롣
?ޥ????Υۥ???̾?? XSetWMClientMachine ???ȤäƳ?Ǽ??????(14.2.2 ????)??
?????? class_hints ?? NULL ?Ǥʤ????硢 XmbSetWMProperties ?? Xutf8SetWMProperties ?? WM_CLASS ?ץ??ѥƥ??????ꤹ?롣 XClassHint ??¤?Τ? res_name ?????Ф? NULL ?ݥ??????ꤵ???Ƥ??ơ????ĴĶ??ѿ? RESOURCE_NAME ?????ꤵ???Ƥ??????硢?Ķ??ѿ????ͤ? res_name ?????????? ?롣 res_name ?????Ф? NULL ?ǡ??Ķ??ѿ????ͤ????ꤵ???Ƥ??餺??argv ?? argv[0] ?????ꤵ???Ƥ????????ˤϡ?argv[0]???ͤ????ǥ??쥯?ȥ??? ?ץ??ե??å??????????????????Τ? res_name ???????????롣
Ϳ???????? class_hints.res_name, argv, ?Ķ??ѿ? RESOURCE_NAME, ?ޥ??? ?Υۥ???̾?Υ????ǥ??ϡ????ߤΥ????????Υ????ǥ????? ?Ǥ??????ΤȲ??ꤵ???롣 ?б????? WM_CLASS, WM_COMMAND, WM_CLIENT_MACHINE ?ץ??ѥƥ??ϥ??????? ?ۥ??ȤΥ??????륢?ʥ??˽??äƷ??դ??????롣 ????????ʸ?????ˤĤ??ơ??ץ??ѥƥ??ؤγ?Ǽ?????ˤϥ????ǥ??? ?Ѵ??ϹԤ????ʤ???
?????????˽??äƥץ??ѥƥ??ƥ????Ȥ?ɬ?פ????륯?饤?????ȤΤ????ˡ? XmbSetWMProperties ?? Xutf8SetWMProperties ?? WM_LOCALE_NAME ?ץ??ѥƥ??˸??ߤΥ?????????̾???????ꤹ?롣 ????̾???ϥ????ǥ????ۥ??ȥݡ????֥?ʸ???????ǥ??Ǥ??ꡢ STRING ???Ѵ??????ƥץ??ѥƥ??˳?Ǽ?????????ΤȲ??ꤵ???롣
XSetWMProperties, Xutf8SetWMProperties, XmbSetWMProperties ?ϥ??顼 BadAlloc, BadWindow ???????Ȥ????롣
?ؿ? Xutf8SetWMProperties ?? XFree86 4.0.2 ????Ƴ?????줿 XFree86 ?ȼ??γ?ĥ?Ǥ??롣???δؿ??? ???뤫?ɤ????ϥޥ??? X_HAVE_UTF8_STRING ??Ƚ???Ǥ??롣
?ץ??ѥƥ?¶
- WM_CLASS
- ???????ɥ??ޥ͡??????䥻?å??????ޥ͡????㤬??????ǡ????١??????? ???ץꥱ?????????Υ???????????Ǥ????褦?ˡ????ץꥱ?????????ץ??????? ?ˤ??ä????ꤵ???롣
- WM_CLIENT_MACHINE
- ???饤?????Ȥ?ư??Ƥ????ޥ?????̾????ɽ??ʸ??????
- WM_COMMAND
- ???ץꥱ?????????ε?ư?˻Ȥ??줿???ޥ??ɤȰ??????? NULL ?Ƕ??ڤ????Ƥ??롣
- WM_HINTS
- ???????ɥ??ޥ͡??????˻Ȥ??????褦?˥??饤?????Ȥ????ꤹ?롢?ɲä? ?ҥ??ȤΥ??åȡ? ???Υץ??ѥƥ??? C ?????ˤ????뷿?? XWMHints ?Ǥ??롣
- WM_ICON_NAME
- ?????????ǻ??Ѥ?????̾????
- WM_NAME
- ???ץꥱ??????????̾????
- WM_NORMAL_HINTS
- ?̾??ξ??֤Υ??????ɥ????Ф??륵?????ҥ??ȡ? ???Υץ??ѥƥ??? C ?????Ǥη??? XSizeHints ?Ǥ??롣
?֤???¶
??Ϣ????¶
XAllocClassHint(3X11), XAllocIconSize(3X11),
XAllocSizeHints(3X11), XAllocWMHints(3X11), XParseGeometry(3X11),
XSetCommand(3X11), XSetTransientForHint(3X11), XSetTextProperty(3X11),
XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11),
XSetWMIconName(3X11), XSetWMName(3X11), XSetWMProtocols(3X11),
XStringListToTextProperty(3X11), XTextListToTextProperty(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |