XtInitialize(3) XT COMPATIBILITY FUNCTIONS XtInitialize(3)NAME
XtInitialize - initialize
SYNTAX
Widget XtInitialize(String shell_name, String application_class, XrmOptionDescRec* options, Cardinal num_options, int* argc, char** argv);
ARGUMENTS
shell_name
Specifies the name of the created shell widget.
application_class
Specifies the class name of this application, which usually is the generic name for all instances of this application.
options Specifies how to parse the command line for any application-specific resources. The options argument is passed as a parameter to
XrmParseCommand. For further information, see Xlib - C Language X Interface.
num_options
Specifies the number of entries in the options list.
argc Specifies a pointer to the number of command line parameters.
argv Specifies the command line parameters.
DESCRIPTION
XtInitialize calls XtToolkitInitialize followed by XtOpenDisplay with display_string NULL and application_name NULL, and finally calls
XtAppCreateShell with application_name NULL, widget_class applicationShellWidgetClass, and the specified args and num_args and returns the
created shell. The semantics of calling XtInitialize more than once are undefined. This routine has been replaced by XtAppInitialize.
SEE ALSO XtAppInitialize(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.3 XtInitialize(3)
Check Out this Related Man Page
XtInitialize(3) XT COMPATIBILITY FUNCTIONS XtInitialize(3)NAME
XtInitialize - initialize
SYNTAX
Widget XtInitialize(String shell_name, String application_class, XrmOptionDescRec* options, Cardinal num_options, int* argc, char** argv);
ARGUMENTS
shell_name
Specifies the name of the created shell widget.
application_class
Specifies the class name of this application, which usually is the generic name for all instances of this application.
options Specifies how to parse the command line for any application-specific resources. The options argument is passed as a parameter to
XrmParseCommand. For further information, see Xlib - C Language X Interface.
num_options
Specifies the number of entries in the options list.
argc Specifies a pointer to the number of command line parameters.
argv Specifies the command line parameters.
DESCRIPTION
XtInitialize calls XtToolkitInitialize followed by XtOpenDisplay with display_string NULL and application_name NULL, and finally calls
XtAppCreateShell with application_name NULL, widget_class applicationShellWidgetClass, and the specified args and num_args and returns the
created shell. The semantics of calling XtInitialize more than once are undefined. This routine has been replaced by XtAppInitialize.
SEE ALSO XtAppInitialize(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.4 XtInitialize(3)
Hi!
I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.
A typical shell command line is:
PROMPT > shell_name.ksh -avalue_a -bvalue_b -cvalue_c -dvalue_d ...
I used a combinaton of ps and grep commands... (5 Replies)
Hi Guys,
I am new to unix.
Actually i want help in writing an single command where
i can actually read specific line number in file where the line number will be passed to command as parameter.
ex.
1 a
2 b
3 c
4 d
And to my command i pass as 2.
so i should get output as 2 b
... (15 Replies)
"$#" gives the number of command-line arguments. How do you get the last command-line parameter (or any particular one determined by a variable)? I thought it would be "${$#}", but that produces something completely unexpected. (4 Replies)
Hi,
I have a script which has 3 command line parameters.But sometimes it will also take 2 command line parameters or 1.How to do it?
I am using $1,$2... to specify the command line parameters.
The script which i have written is given below.
#!/bin/sh
echo "database="$1
echo... (3 Replies)