Scroll to navigation

XInstallColormap(3X11) XLIB FUNCTIONS XInstallColormap(3X11)

̾??

XInstallColormap, XUninstallColormap, XListInstalledColormaps - ???顼?ޥåפ????椹??

????

XInstallColormap(display, colormap)
Display *display;
Colormap colormap;

XUninstallColormap(display, colormap)
Display *display;
Colormap colormap;

Colormap *XListInstalledColormaps(display, w, num_return)
Display *display;
Window w;
int *num_return;

??????

???顼?ޥåפ????ꤹ?롣
X ?????Фؤ???³?????ꤹ?롣
???ߥ??󥹥ȡ??뤵???Ƥ??륫?顼?ޥåפο????֤????롣
?????꡼???????ꤹ?뤿???Υ??????ɥ??????ꤹ?롣

????

?ؿ? XInstallColormap ?ϡ????ꤷ?????顼?ޥåפ򥫥顼?ޥåפ??б????륹???꡼???? ???󥹥ȡ??뤹?롣 ???Υ??顼?ޥåפ˴?Ϣ???????ƤΥ??????ɥ???¨?¤???????????ɽ???????? ?褦?ˤʤ롣 ???????ɥ??ȥ??顼?ޥåפ??б??Ť??ϡ????????ɥ??? XCreateWindow, XCreateSimpleWindow, XChangeWindowAttributes, XSetWindowColormap ?Ǻ??ä????˹Ԥ????롣

???ꤷ?????顼?ޥåפ????˥??󥹥ȡ??뤵???Ƥ??륫?顼?ޥåפǤʤ????硢 X ?????ФϤ??Υ??顼?ޥåפ????äƤ??륦?????ɥ????줾?????Ф??? ColormapNotify ???٥??Ȥ????????롣 ?????? XInstallColormap ???Ƥ??????̤Ȥ??ƥ??󥹥ȡ??뤵???Ƥ???¾?????ƤΥ??顼?ޥåפˤĤ??ơ? X ?????ФϤ??Υ??顼?ޥåפ????äƤ??뤽?줾???Υ??????ɥ??ˤ????? ColormapNotify ???٥??Ȥ????????롣

XInstallColormap ?ϥ??顼 BadColor ?򵯤??????Ȥ????롣

?ؿ? XUninstallColormap ?ϻ??ꤷ?????顼?ޥåפ򥹥??꡼????ɬ?ܤΥꥹ?Ȥ????????????? ???η??̡????ꤷ?????顼?ޥåפϥ??󥤥󥹥ȡ??뤵?졢X ?????Ф??ɲä? ???顼?ޥåפ????ۤ????˥??󥹥ȡ????ޤ??ϥ??󥤥󥹥ȡ??뤹?롣 ?ɤΥ??顼?ޥåפ????󥹥ȡ??뤢?뤤?ϥ??󥤥󥹥ȡ??뤵?????Τ??ϡ? ɬ?ܤΥꥹ?Ȥϥ??󥹥ȡ??뤵?줿?ޤޤǤʤ????Фʤ??ʤ????????????????? ?˰?¸???롣

???ꤷ?????顼?ޥåפ????󥤥󥹥ȡ??뤵?줿???硢 X ?????ФϤ??Υ??顼?ޥåפ????äƤ??륦?????ɥ????Ƥ??Ф??? ColormapNotify ???٥??Ȥ????????롣 ?????ˡ? XUninstallColormap ?η??̤Ȥ??ƥ??󥹥ȡ??뤢?뤤?ϥ??󥤥󥹥ȡ??뤵?줿¾?????Ƥ? ???顼?ޥåפˤĤ??ơ?X ?????ФϤ??Υ??顼?ޥåפ????äƤ??? ???????ɥ??ˤ????? ColormapNotify ???٥??Ȥ????????롣

XUninstallColormap ?ϥ??顼 BadColor ?򵯤??????Ȥ????롣

XListInstalledColormaps ?ϻ??ꤷ?????????ɥ??Υ????꡼???ˤĤ??ơ????ߥ??󥹥ȡ??뤵???Ƥ??? ???顼?ޥåפΥꥹ?Ȥ??֤??? ?ꥹ?????Υ??顼?ޥåפν????Ͻ??פǤʤ???ɬ?ܤΥꥹ?Ȥ?????Ū?ʻؼ??? ?Ԥ????ʤ??? ???????Ƥ??줿?ꥹ?Ȥ????פˤʤä??????ˤϡ? XFree ???ȤäƲ??????뤳?ȡ?

XListInstalledColormaps ?ϥ??顼 BadWindow ?򵯤??????Ȥ????롣

?֤???

?????? Colormap ???ͤ????????????Ƥ??? Colormap ???ؤ??Ƥ??ʤ???
?????? Window ???ͤ????????????Ƥ??? Window ???ؤ??Ƥ??ʤ???

??Ϣ????

XChangeWindowAtrributes(3X11), XCreateColormap(3X11), XCreateWindow(3X11), XFree(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11