XAllocIconSize(3X11) | XLIB FUNCTIONS | XAllocIconSize(3X11) |
̾??¶
XAllocIconSize, XSetIconSizes, XGetIconSizes, XIconSize - ????????????¤?Τγ??????Ƥȥ??????ɥ??? WM_ICON_SIZES ?ץ??ѥƥ??????ꡢ????
????¶
XIconSize *XAllocIconSize()
XSetIconSizes(display, w, size_list,
count)
Display *display;
Window w;
XIconSize *size_list;
int count;
Status XGetIconSizes(display, w,
size_list_return, count_return)
Display *display;
Window w;
XIconSize **size_list_return;
int *count_return;
??????¶
- display
- X ?????Фؤ???³?????ꤹ?롣
- count
- ???????Υꥹ?????????ǿ??????ꤹ?롣
- count_return
- ???????Υꥹ?????????ǿ????֤????롣
- size_list
- ???????Υꥹ?Ȥ????ꤹ?롣
- size_list_return
- ???????Υꥹ?Ȥ??֤????롣
- w
- ???????ɥ??????ꤹ?롣
????¶
?ؿ? XAllocIconSize ?? XIconSize ??¤?Τ????????ơ????ι?¤?Τ??ؤ??ݥ????֤??? XIconSize ?????ƤΥե??????ɤ? 0 ?ǽ??????????롣 ??ʬ?ʥ????꤬???ݤǤ??ʤ????硢 XAllocIconSize ?? NULL ???֤??? ???ι?¤?Τ˳??????Ƥ??줿?????????????????ˤϡ? XFree ?????Ѥ??뤳?ȡ?
?ؿ? XSetIconSizes ?ϥ??????ɥ??ޥ͡????????????Ȥ??ؿ??ǡ????ݡ??Ȥ??Ƥ??륢???????? ???????????ꤹ?롣
XSetIconSizes ?ϥ??顼 BadAlloc, BadWindow ???????Ȥ????롣
?ؿ? XGetIconSizes ?ϡ????????ɥ??ޥ͡????㤬?????????Υ????????ޤ????ꤷ?Ƥ??ʤ????? 0 ???֤??????Ǥ????ꤷ?Ƥ????? 0 ?Ǥʤ??ͤ??֤??? XGetIconSize ?ץꥱ???????ƤӽФ??٤??ʤΤϡ? ??ʬ?ξ??̤ˤ??륦?????ɥ??ޥ͡??????ˤȤäƺǤ?Ŭ?ڤʥ??????????? Ĵ?٤????????Ǥ??롣 ???θ塢???Υ??ץꥱ?????????ϥ??ݡ??Ȥ????Ƥ??륵???????椫?? ?ԥ????ޥåפ䥦?????ɥ??????ӡ?XSetWMHints ???Ѥ??Ƥ??????? ???????ɥ??ޥ͡????????Ϥ??٤??Ǥ??롣 size_list_return ???Ф??Ƴ??????Ƥ??줿?ǡ??????????????ˤϡ? XFree ?????Ѥ??뤳?ȡ?
XGetIconSizes ?ϥ??顼 BadWindow ???????Ȥ????롣
?ץ??ѥƥ?¶
- WM_ICON_SIZES
- ???????ɥ??ޥ͡??????ϡ????ݡ??Ȥ??Ƥ??륢???????Υ??????????ꤹ?뤿?? ?˥롼?ȥ??????ɥ??Τ??Υץ??ѥƥ??????ꤹ?롣 ???Υץ??ѥƥ??? C ?????ˤ????뷿?? XIconSize ?Ǥ??롣
??¤??¶
XIconSize ??¤?Τ????Ƥ???
typedef struct { int min_width, min_height; int max_width, max_height; int width_inc, height_inc; } XIconSize;
width_inc ?? height_inc ?????Фϡ????ݡ??Ȥ????Ƥ??륢???????Υ??????? ɽ??????????????ʬ(?Ǿ??ͤ????????ͤޤ?)?????????롣
?֤???¶
??Ϣ????¶
XAllocClassHint(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11),
XFree(3X11), XSetCommand(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 |