Scroll to navigation

XtDisplayInitialize(3Xt) XT FUNCTIONS XtDisplayInitialize(3Xt)

̾??

XtDisplayInitialize, XtOpenDisplay, XtDatabase, XtScreenDatabase, XtCloseDisplay - ?ǥ????ץ쥤???????????????ץ󡦥???????????

????

void XtDisplayInitialize(app_context, display, application_name, application_class,
options, num_options, argc, argv)
XtAppContext app_context;
Display *display;
String application_name;
String application_class;
XrmOptionDescRec *options;
Cardinal num_options;
int *argc;
String *argv;

Display *XtOpenDisplay(app_context, display_string, application_name, application_class,
options, num_options, argc, argv)
XtAppContext app_context;
String display_string;
String application_name;
String application_class;
XrmOptionDescRec *options;
Cardinal num_options;
int *argc;
String *argv;

void XtCloseDisplay(display)
Display *display;

XrmDatabase XtDatabase(display)
Display *display;

XrmDatabase XtScreenDatabase(screen)
Screen* screen;

??????

???ޥ??ɹԥѥ??᡼???θĿ??ؤΥݥ??󥿤????ꤹ?롣
???ޥ??ɹԥѥ??᡼???????ꤹ?롣
???ץꥱ???????󥳥??ƥ????Ȥ????ꤹ?롣
???Υ??ץꥱ?????????Υ??饹̾?????ꤹ?롣?̾??Ϥ??Υ??ץꥱ?????????? ?????󥹥??󥹤?????Ū̾?ΤǤ??롣
???ץꥱ?????????Υ??󥹥?????̾?????ꤹ?롣
?ǥ????ץ쥤?????ꤹ?롣 1 ?ĤΥǥ????ץ쥤?? 1 ?ĤΥ??ץꥱ?????????? ???ƥ????Ȥˤ???¸?ߤ??뤳?Ȥ??Ǥ??????????դ??뤳?ȡ?
options ?ꥹ?ȤΥ????ȥ??θĿ??????ꤹ?롣
???ץꥱ??????????ͭ?Υ꥽???????Ф??롢???ޥ??ɹԤβ?????ˡ?????ꤹ?롣 options ???????? XrmParseCommand ?˥ѥ??᥿?Ȥ????Ϥ????롣 ?ܺ٤? Xlib - C ???? X ???󥿡??ե????? ?򻲾ȡ?
?֤??ͤǤ????꥽?????ǡ????١????˽?°???륹???꡼???????ꤹ?롣

????

XtDisplayInitialize ?ؿ??ϥ꥽?????ǡ????١??????ӥ??ɤ??????ޥ??ɹԤ????Ϥ??뤿???? XrmParseCommand ?ؿ????Ƥӡ???????¾?Υǥ????ץ쥤???˽????????»ܤ??롣 XrmParseCommand ???ƤФ줿?塢 argc ?? argv ??ɸ???Υ??ץ??????ơ??֥??ˤʤ??ѥ??᡼???䡢 options ?? ???ˤ??äƻ??ꤵ?줿?ơ??֥??ˤ??ʤ??ѥ??᡼?????????ޤळ?Ȥˤʤ롣 ?⤷?ѹ????? argc ?? 0 ?Ǥ??ä????ϡ??ۤȤ??ɤΥ??ץꥱ?????????ϡ?ñ ???ѹ????줿 argv ?򡢻?????ǽ?ʥ??ץ??????Υꥹ?ȤȤȤ???ɽ?????????? ?Ȥʤ롣 ????Ū??UNIX?١????Υ????ƥ??ˤ????ơ????ץꥱ????????̾?? argv[0] ?? ?Ǹ??ι??????Ǥˤʤ롣 ???ꤵ?줿???ץꥱ??????????Ʊ???꥽?????? True ?ʤ??С? XtDisplayInitialize ?Ϥ??Υǥ????ץ쥤????³?ˤ????? Xlib ??Ʊ???⡼?ɤˤ??뤿???? XSynchronize ?ؿ????Ƥ֡? ?ޤ???reverseVideo ?꥽?????? True ?Ǥ????С????Υǥ????ץ쥤???????????줿?????????åȤ??Ф??ơ? ?????ȥ??󥷥????? XtDefaultForeground ?? XtDefaultBackground ???򴹤??롣 (Section 9.6.1 ?򻲾?)

XtOpenDisplay ?ؿ??ϻ??ꤵ?줿?ǥ????ץ쥤̾?????Ѥ??? XOpenDisplay ???Ƥ֡? display_string ?? NULL ?ξ??硢 XtOpenDisplay ?? argv ?˻??ꤵ?줿 -display ???ץ??????θ??ߤ??ͤ????Ѥ??롣???????? ?? argv ?˥ǥ????ץ쥤?????ꤵ???Ƥ??ʤ??????ϡ??桼???Υǥե????ȤΥ? ?????ץ쥤(UNIX ?١????Υ????ƥ??ˤ??????Ķ??ѿ? DISPLAY ????)?????Ѥ??롣

???줬???????????硢 XtOpenDisplay ?ؿ??? XtDisplayInitialize ???Ƥӡ??????ץ󤷤??ǥ????ץ쥤?ȥ??ץꥱ????????̾?Ȥ??? argv ?˻??? ???줿 -name ???ץ????????ͤ??Ϥ??? ?????????? -name ???ץ????󤬻??ꤵ???Ƥ??ʤ??????ϡ? XtOpenDisplay ???Ϥ??줿???ץꥱ????????̾?????Ѥ??롣 ?????ˤ??Υ??ץꥱ????????̾?? NULL ?ξ????ϡ?argv[0] ?κǸ??ι??????? ?????Ѥ??롣 XtOpenDisplay ???????˽?λ?????п??????????ץ󤷤??ǥ????ץ쥤???֤????դ˼??Ԥ????? NULL ???֤???

???ץꥱ?????????ץ??????ޤ??ص????Ϥ??뤿???? XtOpenDisplay ???󶡤????Ƥ??롣

XtCloseDisplay ?ؿ??ϥ??????????????˹Ԥ????褦?ˤʤꤷ?????????ꤵ?줿?ǥ????ץ쥤?? ???????????롣 ?⤷???٥??????? (?㤨?Х??????Хå???³??) ???˸ƤӽФ??줿?? ?硢????????λ?????ޤ? XtCloseDisplay ?ϥǥ????ץ쥤?򥯥????????ʤ??? ?ǥ????ץ쥤?򥯥????????????⥢?ץꥱ???????????¹Ԥ?³?????????Τߡ? XtCloseDisplay ???Ƥ֤??Ȥ??Ǥ??뤳?Ȥ????դ??뤳?ȡ??????Ǥʤ????? XtDestroyApplicationContext ???Ƥ֤?????????λ?????Ф褤??

XtDatabase ?ؿ??ϻ??ꤷ???ǥ????ץ쥤?˴ؤ??ơ? XtDisplayInitialize ?ˤ??ä????????줿???????˥ޡ??????줿?꥽?????ǡ????١??????֤??? ???Υǥ????ץ쥤?? XtDisplayInitialize ?ˤ??äƽ??????????Ƥ??ʤ????硢?????֤??ͤ?̤?????Ǥ??롣

XtScreenDatabase ?ؿ??ϻ??ꤵ?줿?????꡼?????б????롢?????˥ޡ??????줿?꥽?????ǡ??? ?١??????֤??? XtDisplayInitialize ?ˤ??äƽ????????줿 Display ?? screen ????°???Ƥ??ʤ????硢?????֤??ͤ?̤?????Ǥ??롣

??Ϣ????

XtAppCreateShell(3Xt), XtCreateApplicationContext(3Xt)
X ?ġ??륭?å? ?????ȥ??󥷥??? - C ???쥤?󥿡??ե?????
Xlib - C ???? X ???󥿡??ե?????

Release 6.5 X Version 11