Scroll to navigation

XInternAtom(3X11) XLIB FUNCTIONS XInternAtom(3X11)

̾??

XInternAtom, XInternAtoms, XGetAtomName, XGetAtomNames - ???ȥ?̾???????ȼ??????Ԥʤ?

????

Atom XInternAtom(display, atom_name, only_if_exists)
Display *display;
char *atom_name;
Bool only_if_exists;

Status XInternAtoms(display, names, count, only_if_exists, atoms_return)
Display *display;
char **names;
int count;
Bool only_if_exists;
Atom *atoms_return;

char *XGetAtomName(display, atom)
Display *display;
Atom atom;

Status XGetAtomNames(display, atoms, count, names_return)
Display *display;
Atom *atoms;
int count;
char **names_return;

??????

???????褦?Ȥ??Ƥ????ץ??ѥƥ?̾???Ф??륢?ȥ??????ꤹ?롣
???ȥ????????????ꤹ?롣
???????褦?Ȥ??Ƥ??륢?ȥ????б?????̾???????ꤹ?롣
???ȥब?֤????롣
???????ˤ??륢?ȥ?̾?ο??????ꤹ?롣
???????ˤ??륢?ȥ??ο??????ꤹ?롣
X ?????Фؤ???³?????ꤹ?롣
???ȥ?̾???????????ꤹ?롣
???ȥ?̾???֤????롣
???ȥ??????????ʤ????Фʤ??ʤ????ɤ????򼨤??????ͤ????ꤹ?롣

????

?ؿ? XInternAtom ?ϻ??ꤷ?? atom_name ʸ???????б????륢?ȥ??μ??̻Ҥ??֤??? only_if_exists ?? False ?ʤ??С????ȥब¸?ߤ??ʤ??????ˤϿ??????????????롣 ???????äơ? XInternAtom ?Ͼ??? None ???֤????Ȥˤʤ롣 ???ȥ?̾?Υ??󥳡??ǥ??󥰤??ۥ??ȥݡ????֥?ʸ?????󥳡??ǥ??󥰤Ǥʤ? ???硢?¹Է??̤ϼ?????¸?Ǥ??롣 ??ʸ???Ⱦ?ʸ???϶??̤????롣 ???????äơ?``thing'', ``Thing'', ``thinG'' ?????ưۤʤ륢?ȥ??Ȥ??ƶ? ?̤????롣 ???饤?????Ȥ???³???Ĥ??????Ǥ??äƤ⡢???ȥ??????????줿?ޤ޻Ĥ롣 ???ȥब̤?????ˤ??????Τϡ?X ?????ФؤκǸ?????³???Ĥ????줿???Ǥ??롣

XInternAtom ?ϥ??顼 BadAlloc, BadValue ?򵯤??????Ȥ????롣

?ؿ? XInternAtoms ?ϻ??ꤷ??̾???????????б????륢?ȥ༱?̻Ҥ????????֤??? ???ȥ??ϸƤӽФ?¦??Ϳ???????? atoms_return ?˳?Ǽ?????롣 ???δؿ??θƤӽФ??ϡ????줾????̾?????Ȥä? only_if_exists ?????ꤷ?? XInternAtom ?????˸ƤӽФ????Ȥ?Ʊ???Ǥ??롣???????????δؿ????Ȥ??Х??饤?????Ȥ? X ?????д֤Υץ??ȥ????򴹤β??????Ǿ??????뤳?Ȥ??Ǥ??롣

???δؿ??ϡ????Ƥ?̾?????Ф??ƥ??ȥब?֤??줿?????? 0 ?Ǥʤ??ͤ??֤??? ?????Ǥʤ??????ˤ? 0 ???֤???

XInternAtoms ?ϥ??顼 BadAlloc, BadValue ?򵯤??????Ȥ????롣

?ؿ? XGetAtomName ?ϻ??ꤷ?????ȥ????б?????̾?????֤??? ?????Ф??֤??ǡ????Υ??󥳡??ǥ??󥰤? Latin ?ݡ????֥?ʸ?????󥳡??ǥ? ?󥰤Ǥ????С??ؿ????֤?ʸ?????Υ??󥳡??ǥ??󥰤ϥۥ??ȥݡ????֥?ʸ?? ???󥳡??ǥ??󥰤Ǥ??롣 ???Ǥʤ??????η??̤ϼ?????¸?Ǥ??롣 ?֤??줿ʸ???????????????ˤ? XFree ???Ѥ??뤳?ȡ?

XGetAtomName ?ϥ??顼 BadAtom ?򵯤??????Ȥ????롣

?ؿ? XGetAtomNames ?ϻ??ꤷ?????ȥ??????????б?????̾???????????֤??? ̾???ϸƤӽФ?¦??Ϳ???????? names_return ?˳?Ǽ?????롣 ???δؿ????Ƥ֤??Ȥϡ????줾???Υ??ȥ??ˤĤ??? XGetAtomName ?????˸Ƥ֤??Ȥ??????Ǥ??롣???????????δؿ????Ȥ??С????饤?????Ȥ? X ?????Фδ֤Υץ??ȥ????򴹤β??????Ǿ??????뤳?Ȥ??Ǥ??롣

???δؿ??ϡ????ƤΥ??ȥ????Ф???̾?????֤????Ȥ??Ǥ????????? 0 ?Ǥʤ? ?ͤ??֤????????Ǥʤ??????? 0 ???֤???

XGetAtomNames ?ϥ??顼 BadAtom ?򵯤??????Ȥ????롣

?֤???

?׵ᤵ?줿?꥽?????䥵???Х??????γ??????Ƥ˥????Ф????Ԥ?????
?????? Atom ???ͤ????????????Ƥ??? Atom ???ؤ??Ƥ??ʤ???
???ͤ????˥ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????Ф??????? ???ϰϤ????ꤵ???Ƥ??ʤ????硢???????η??????Ƥ??ϰϤ????????롣???????? ?????????????Ƥ??????????ϡ????Υ??顼?򵯤??????Ȥ????롣

??Ϣ????

XFree(3X11), XGetWindowProperty(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11