Scroll to navigation

XtAppInitialize(3Xt) XT FUNCTIONS XtAppInitialize(3Xt)

̾Á°

XtAppInitialize, XtVaAppInitialize - ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó½é´ü²½¤Î´Ê°×´Ø¿ô

½ñ¼°

Widget XtAppInitialize(app_context_return, application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, args, num_args)
XtAppContext* app_context_return;
String application_class;
XrmOptionDescRec* options;
Cardinal num_options;
int* argc_in_out;
String* argv_in_out;
String* fallback_resources;
ArgList args;
Cardinal num_args;

Widget XtVaAppInitialize(app_context_return, application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, ...)
XtAppContext* app_context_return;
String application_class;
XrmOptionDescRec* options;
Cardinal num_options;
int* argc_in_out;
String* argv_in_out;
String* fallback_resources;

°ú¤­¿ô

¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥³¥ó¥Æ¥¯¥¹¥È¤ò»ØÄꤹ¤ë¡£
¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥¯¥é¥¹Ì¾¤ò»ØÄꤹ¤ë¡£¤³¤ì¤ÏÄ̾¤³¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó ¤ÎÁ´¥¤¥ó¥¹¥¿¥ó¥¹¤ËÂФ¹¤ëÁí¾ÎŪ¤Ê̾¾Î¤Ç¤¢¤ë¡£
¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¸ÇÍ­¤Î¥ê¥½¡¼¥¹¤ËÂФ¹¤ë¥³¥Þ¥ó¥É¹Ô¤Î¡¢²òÀÏÊýË¡¤ò»ØÄꤹ¤ë¡£ °ú¤­¿ô options ¤Ï XrmParseCommand ¤Ë¥Ñ¥é¥á¡¼¥¿¤È¤·¤ÆÅϤµ¤ì¤ë¡£ ¤è¤ê¾ÜºÙ¤Ê¾ðÊó¤Ï Xlib - C ¸À¸ì X ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤ò»²¾È¤Î¤³¤È¡£
options ¥ê¥¹¥È¤Î¥¨¥ó¥È¥ê¤Î¸Ä¿ô¤ò»ØÄꤹ¤ë¡£
¥³¥Þ¥ó¥É¹Ô¥Ñ¥é¥á¡¼¥¿¤Î¸Ä¿ô¤Ø¤Î¥Ý¥¤¥ó¥¿¤ò»ØÄꤹ¤ë¡£
¥³¥Þ¥ó¥É¹Ô¥Ñ¥é¥á¡¼¥¿¤ò»ØÄꤹ¤ë¡£
¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥¯¥é¥¹¤Î¥ê¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤¬¥ª¡¼¥×¥ó¤Ç¤­¤Ê¤¤¤«¡¢ ¤Þ¤¿¤ÏÆɤ߹þ¤á¤Ê¤¤¾ì¹ç¤Ë»È¤¦¥ê¥½¡¼¥¹Ãͤò»ØÄꤹ¤ë¡£ÉÔɬÍפʾì¹ç¤Ï NULL ¤ò»ØÄꤹ¤ë¡£
¥·¥§¥ë¥¦¥£¥¸¥§¥Ã¥È¤òÀ¸À®¤¹¤ë»þ¤Ë¾å½ñ¤­¤¹¤ë¥ê¥½¡¼¥¹»ØÄê¤Î °ú¤­¿ô¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£
args ¥ê¥¹¥È¤Î¥¨¥ó¥È¥ê¤Î¸Ä¿ô¤ò»ØÄꤹ¤ë¡£
...
¥·¥§¥ë¥¦¥£¥¸¥§¥Ã¥È¤òÀ¸À®¤¹¤ë»þ¤Ë¾å½ñ¤­¤¹¤ë¥ê¥½¡¼¥¹»ØÄê¤Î ²ÄÊÑĹ°ú¤­¿ô¥ê¥¹¥È¤ò»ØÄꤹ¤ë¡£

ÀâÌÀ

XtAppInitialize ´Ø¿ô¤Ï XtToolkitInitialize ¤ò¸Æ¤Ó½Ð¤·¡¢ ³¤¤¤Æ XtCreateApplicationContext, ¤ò¸Æ¤Ó½Ð¤¹¡£ ¼¡¤Ë display_string ¤È application_name ¤Ë NULL ¤òÀßÄꤷ¤Æ XtOpenDisplay ¤ò¸Æ¤Ó½Ð¤¹¡£ ºÇ¸å¤Ë application_name ¤Ë NULL¡¢widget_class ¤Ë applicationShellWidgetClass ¤òÀßÄꤷ¡¢»ØÄꤵ¤ì¤¿ args ¤È num_args ¤ò»ÈÍѤ·¤Æ XtAppCreateShell ¤ò¸Æ¤Ó½Ð¤·¡¢¿·¤·¤¯À¸À®¤µ¤ì¤¿¥·¥§¥ë¤òÊÖ¤¹¡£ ¸Æ¤Ó½Ð¤·¤¿ XtDisplayInitialize ¤Ë¤è¤Ã¤Æ½¤Àµ¤µ¤ì¤¿ argc ¤È argv ¤Ï argc_in_out ¤È argv_in_out ¤ËÆþ¤ì¤ÆÊÖ¤¹¡£ app_context_return ¤¬ NULL ¤Ç¤Ê¤±¤ì¤Ð¡¢À¸À®¤µ¤ì¤¿¥¢¥×¥ê¥±¡¼¥·¥ç ¥ó¥³¥ó¥Æ¥¯¥¹¥È¤òÊÖ¤¹¡£ ¥³¥Þ¥ó¥É¹Ô¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥¹¥×¥ì¥¤¤¬¥ª¡¼¥×¥ó¤Ç¤­¤Ê¤¤¾ì¹ç¤Ï¡¢¥¨¥é¡¼¥á¥Ã ¥»¡¼¥¸¤¬½ÐÎϤµ¤ì¡¢ XtAppInitialize ¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò½ªÎ»¤µ¤»¤ë¡£ fallback_resources ¤¬ NULL ¤Ç¤Ê¤¤¾ì¹ç¡¢ XtOpenDisplay ¤ò¸Æ¤ÖÁ°¤Ë XtAppSetFallbackResources ¤ò¸Æ¤Ó½Ð¤¹¡£

¸½ºß¡¢XtAppInitialize ¤Ï XtOpenApplication ¤Ë¡¢XtVaAppInitialize ¤Ï XtVaOpenApplication ¤ËÃÖ¤­´¹¤¨¤é¤ì¤Æ¤¤¤ë¡£

´ØÏ¢¹àÌÜ

XtOpenApplication(3Xt), XtVaOpenApplication(3Xt)
X ¥Ä¡¼¥ë¥­¥Ã¥È ¥¤¥ó¥È¥ê¥ó¥·¥¯¥¹ - C ¸À¸ì¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹
Xlib - C ¸À¸ì X ¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹

Release 6.5 X Version 11