GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XMTPARSECOMMANDLINE (3)

NAME

XmtParseCommandLine() - parse the application command line for Xmt-specific arguments.

CONTENTS

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 command-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 recognized 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. XtAppInitialize() 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 XmtParseCommandLine(), 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().

Search for    or go to Top of page |  Section 3 |  Main Index


Xmt XMTPARSECOMMANDLINE (3) Motif Tools

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.