FreeBSD Manual Pages
XmtParseCommandLine(3) Library Functions Manual XmtParseCommandLine(3) NAME XmtParseCommandLine() - parse the application command line for Xmt-spe- cific arguments. SYNOPSIS #include <Xmt/AppRes.h> void XmtParseCommandLine(Widget w, int *argc, char **argv) ARGUMENTS INPUTS w The application shell widget for which application resources are to be set. argc The address of a variable that contains the number of com- mand-line arguments passed to main(). argv The array of command-line arguments that were passed to main(). OUTPUTS argc A modified argc that specifies the number of arguments now in argv. argv A modified argv from which any arguments that were recog- nized and parsed have been removed. DESCRIPTION XmtParseCommandLine() uses XrmParseCommand() to parse command line arguments the user can use to set Xmt application variables. It is designed to be called immediately after a call to XtAppInitialize() and before the call to XmtInitializeApplicationShell(), if any. XtAppIni- tialize() parses and removes the standard Xt arguments from the command line, and also any application-specific arguments specified in its options array. XmtParseCommandLine() will parse and remove any standard Xmt arguments. XmtInitialize() is a convenience function suitable for initializing most Xmt applications-it calls XtAppInitialize() and XmtParseCommand- Line(), as well as other functions. The table lists the standard Xmt command line arguments. Standard Xmt Command Line Arguments ----------------------+--------------------+----------------------- -bitmapFilePath | -contextHelpPixmap | -helpCursorBackground -busyCursor | -cursor | -helpCursorForeground -busyCursorBackground | -cursorBackground | -helpFilePath -busyCursorForeground | -cursorForeground | -palette -colorTable | -focusStyle | -pixmapFilePath -configDir | -fontFamily | -resourceFilePath -configPath | -helpCursor | -userConfigPath -contextHelpFile | | SEE ALSO Chapter 7, Application Resources and Command-Line Arguments, XmtGetApplicationValues(), XmtInitialize(), XmtInitializeApplicationShell(), XmtSetApplicationValues(), XrmParseCommand(). Xmt Motif Tools XmtParseCommandLine(3)
NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtParseCommandLine&sektion=3&manpath=FreeBSD+Ports+15.0>
