Scroll to navigation

XrmGetResource(3X11) XLIB FUNCTIONS XrmGetResource(3X11)

̾??

XrmGetResource, XrmQGetResource, XrmQGetSearchList, XrmQGetSearchResource - ?ǡ????١????Υ꥽?????ȸ????ꥹ?Ȥ?????????

????

Bool XrmGetResource(database, str_name, str_class, str_type_return, value_return)
XrmDatabase database;
char *str_name;
char *str_class;
char **str_type_return;
XrmValue *value_return;

Bool XrmQGetResource(database, quark_name, quark_class, quark_type_return, value_return)
XrmDatabase database;
XrmNameList quark_name;
XrmClassList quark_class;
XrmRepresentation *quark_type_return;
XrmValue *value_return;

typedef XrmHashTable *XrmSearchList;

Bool XrmQGetSearchList(database, names, classes, list_return, list_length)
XrmDatabase database;
XrmNameList names;
XrmClassList classes;
XrmSearchList list_return;
int list_length;

Bool XrmQGetSearchResource(list, name, class, type_return, value_return)
XrmSearchList list;
XrmName name;
XrmClass class;
XrmRepresentation *type_return;
XrmValue *value_return;

??????

?꥽???????饹?????ꤹ?롣
?꥽???????饹?Υꥹ?Ȥ????ꤹ?롣
?Ȥ??????ǡ????١????????ꤹ?롣
XrmQGetSearchList ???֤??????ꥹ?Ȥ????ꤹ?롣
list_return ???Ф??Ƴ??????Ƥ??줿?????ȥ꡼?ο?(?Х??ȿ??ǤϤʤ?)?? ???ꤹ?롣
???ǻ??Ѥ??뤿???θ????ꥹ?Ȥ??֤????롣
?꥽????̾?????ꤹ?롣
?꥽????̾?Υꥹ?Ȥ??֤????롣
?????Ф??ͤδ????˸??ꤵ?줿???饹??(?????????Ȥ???)???ꤹ?롣
?????Ф??ͤδ????˸??ꤵ?줿̾????(?????????Ȥ???)???ꤹ?롣
?оݤ?ɽ??????(?????????Ȥ???)?֤????롣
?????Ф??ͤδ????˸??ꤵ?줿???饹??(ʸ?????Ȥ???)???ꤹ?롣
?????Ф??ͤδ????˸??ꤵ?줿̾????(ʸ?????Ȥ???)???ꤹ?롣
?оݤ?ɽ??????(ʸ?????Ȥ???)?֤????롣
?ǡ?????ɽ???????֤????롣
?ǡ????١??????Ǥ??ͤ??֤????롣

????

?ؿ? XrmGetResource ?? XrmQGetResource ?ϡ????ꤷ???ǡ????١????????꥽???????????Ф??? ?ɤ????δؿ??ⴰ???˸??ꤵ?줿̾??/???饹???ȡ???Ū?Υ꥽????ɽ?????? ?Υ??ɥ쥹(??????/???ɥ쥹????)?????????Ȥ??Ƽ??롣 ?ͤ??֤????뷿?ϥǡ????١????Υ????????ؤ??? ???????äơ????Υǡ??????ѹ????ƤϤʤ??ʤ???

?ǡ????١????? XrmPutResource, XrmQPutResource, XrmMergeDatabases ?Τ????줫?Υ????ȥ꡼?β????ޤ??Ͼ??񤭤??????Ԥ??? ???????ͤ??ǡ????١????˳?Ǽ???ʤ????饤?????Ȥ??ǡ????١????Υޡ??? ?򤷤ʤ????饤?????Ȥϡ??֤??줿???ɥ쥹??¸?ߤ????¤ꡢ?????򤤤ĻȤ? ?Ƥ??????Ǥ??롣 XrmGetResource ?? XrmQGetResource ?Τɤ??????꥽?????????Ĥ??ä??????ˤ? True ???֤??? ???Ĥ????ʤ??ä??????ˤ? False ???֤????롣

?ؿ? XrmQGetSearchList ?ϡ?̾???ȥ??饹?Υꥹ?Ȥ????????˼??ꡢ?ޥå????????ä??Ȼפ??????ǡ??? ?١????Υ??٥??Υꥹ?Ȥ??֤??? ?֤??????ꥹ?ȤϺ????????ǰ??ν????¤??Ǥ??ꡢ???̤????ꤹ?륢?르?ꥺ ???? XrmGetResource ??Ʊ???Ǥ??롣 list_return ???????ꥹ?Ȥ???Ǽ?Ǥ??뽽ʬ???礭???ʤ??С? XrmQGetSearchList ?? True ???֤????????Ǥʤ????? False ???֤???

?ؿ????ƤӽФ???¦?????????Ƥʤ????Фʤ??ʤ??????ꥹ?Ȥ??礭???ϡ? ?ǡ????١????˳?Ǽ?????Ƥ????꥽?????????Ҥ??ޤ????٥????ȥ磻???ɥ??? ?ɤο??ˤ??äƷ??ޤ롣 ?ǰ??ξ????ˤϡ??????礭???? %3 sup n% ?Ǥ??롣 ?????ǡ? n ??̾???䥯?饹???ޤ??Ǥ???̾???䥯?饹?Υ????ݡ??ͥ? ?Ȥο??Ǥ??롣

XrmQGetSearchList ???Ѥ??????θ??˶??̤?̾???ȥ??饹?Υץ??ե??å??????Ȥä?ʣ?????꥽?? ???򸡺????????硢 XrmQGetSearchList ???Ϥ?̾???䥯?饹?Υꥹ?????Ǥϡ????̤Υץ??ե??????????????ꤹ?٤??? ???롣

?ؿ? XrmQGetSearchResource ?ϡ????ꤷ??̾???ȥ??饹?Ǵ????˼??̤????Ƥ????꥽???????Ф??ơ????ꤷ ???ǡ????١????Υ??٥??򸡺????롣 ?????Ϻǽ??˥ޥå??????????ǽ?λ???롣 XrmQGetSearchResource ?ϥ꥽?????????Ĥ??ä??????ˤ? True ???֤??? ???Ĥ????ʤ??ä??????ˤ? False ???֤???

?꥽????̾?κǸ??Υ????ݡ??ͥ??Ȱʳ??????Ƥ??ޤ?̾???ȥ??饹?Υꥹ?Ȥ? ?Ȥä? XrmQGetSearchList ???ƤӽФ???³???? ?Ǹ??Υ????ݡ??ͥ??ȤǤ???̾???ȥ??饹???Ȥä? XrmQGetSearchResource ???ƤӽФ??ȡ??????˸??ꤵ?줿̾???ȥ??饹???Ȥä? XrmGetResource ?? XrmQGetResource ???ƤӽФ?????????Ʊ???ǡ????١????Υ????ȥ꡼???֤????롣

?ޥå??󥰤ε?§

Ϳ?????줿?䤤???碌?˥ޥå??????꥽?????ǡ????١????Υ????ȥ??????ꤹ ?륢?르?ꥺ???ϡ??꥽?????ޥ͡????????濴??ʬ?Ǥ??롣 ?ɤ????䤤???碌?ξ????Ǥ⡢ɬ?פʥ꥽??????̾???ȥ??饹???????˻??ꤷ ?ʤ????Фʤ??ʤ?(ʸ?? ``*''?? ``?'' ?λ??Ѥϵ??????ʤ?)?? Xlib ?Ǥϡ??????ݡ??ͥ??????Ǵ?????̾???ȥ??饹?? 100 ?Ĥޤǻ??ѤǤ??롣 ?꥽?????ϡ??ѥ??????ޥå??󥰤??Ȥ߹??碌?????Ѥ??ơ????????????ꤵ?줿̾?? ?ȥ??饹?ǥǡ????١????˳?Ǽ?????롣 ???????ꥹ??(*)?ϴˤ??????Ǥ??ꡢǤ?դο??Υ????ݡ??ͥ??Ȥ??֤????뤳 ?Ȥ?ɽ?????뤿???˻Ȥ????롣?????ϡ??֤˥????ݡ??ͥ??Ȥ??????????ʤ??? ?Ȥ??ޤࡣ ?ԥꥪ??(.)?϶????????Ǥ??ꡢ???ܤ??륳???ݡ??ͥ???Ʊ?Τ?ʬ?䤹?뤿?? ?˻Ȥ????롣 ??????(?)?ϡ?Ǥ?դ?̾???????饹 1 ?Ĥ˥ޥå??????뤿???˻Ȥ????롣 ?ǡ????١????Υ????ȥ꡼?ϡ??ˤ??????ǽ????뤳?ȤϤǤ??ʤ??? ?Ǹ??Υ????ݡ??ͥ???(``?'' ?Ǥ??äƤϤʤ??ʤ?)??ɬ?????ꤷ?ʤ????Фʤ??ʤ??? ???????르?ꥺ???ϡ??䤤???碌???줿??????̾???ȥ??饹?˺Ǥ??᤯?ޥå? ????(?Ǥ????ΤǤ???)?????ȥ꡼?ˤĤ??ƥǡ????١????򸡺????롣 ?ǡ????١???????ʣ???Υ????ȥ꡼????????̾???ȥ??饹?˥ޥå??????????ϡ? 1 ?Ĥ????????֤?????ͥ?????̤ε?§???Ѥ??????롣

??????̾???ȥ??饹?Υ????ݡ??ͥ??Ȥϡ??????鱦??(?Ǥ??⤤???٥뤫???? ?????٥???)?????äơ????٤? 1 ?Ĥ???Ĵ?٤????롣 ?ƥ??٥??Ǥϡ??б????륳???ݡ??ͥ??Ȥ??ޥå????뤽?줾???Υ????ȥ꡼?? ???礢?뤤?Ϥ???ξ???????ꤵ?졢?ޥå??????????ݡ??ͥ??Ȥ???????ͥ???? ?̤ε?§?˴??Ť??????Ӥ????롣 ???Ƥ??椫?? 1 ?ĤΥ????ȥ꡼????§?ˤ??äƷ??ޤ??ޤǡ????Υ??٥??˰?ư ???????ˡ???§?γƹ??ܤ????줾???Υ??٥???Ŭ?Ѥ????롣 ???Υ롼????ͥ???٤ν??˼?????

1.
?ޥå????륳???ݡ??ͥ???(̾???????饹??``?'' ʸ???Τ????줫)???ޤ? ?????ȥ꡼?ϡ????Υ??٥????ʤ????????ȥ꡼(?Ĥޤꡢ?ˤ??????Ǥ??? ???٥??˥ޥå????Ƥ???????)??????ͥ?????̤??⤤??
2.
̾?????ޥå????Ƥ??륨???ȥ꡼?ϡ????饹???ޥå????Ƥ??륨???ȥ꡼??ʸ ?? ``?'' ???Ȥäƥޥå????Ƥ??륨???ȥ꡼????ͥ?????̤??⤤?? ???饹???ޥå????Ƥ??륨???ȥ꡼?ϡ?ʸ?? ``?'' ???Ȥäƥޥå????Ƥ??? ?????ȥ꡼????ͥ?????̤??⤤??
3.
?????????θ??ˤ??륨???ȥ꡼?ϡ??ˤ??????θ??ˤ??륨???ȥ꡼ ??????ͥ?????̤??⤤??

??Ϣ????

XrmInitialize(3X11), XrmMergeDatabases(3X11), XrmPutResource(3X11), XrmUniqueQuark(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11