from small one page howto to huge articles all in one place
 

search text in:





Poll
What does your sytem tell when running "ulimit -u"?








poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195651

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252057

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140922

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





XtOpenApplication

Section: XT FUNCTIONS (3)
Updated: libXt 1.1.5
Index Return to Main Contents
 

NAME

XtOpenApplication, XtVaOpenApplication - initialize, open, or close a display  

SYNTAX

Widget XtOpenApplication(XtAppContext *app_context_return, String application_class, XrmOptionDescRec *options, Cardinal num_options, int *argc_in_out, String *argv_in_out, String *fallback_resources, WidgetClass widget_class, ArgList args, Cardinal num_args);
Widget XtVaOpenApplication(XtAppContext *app_context_return, String application_class, XrmOptionDescRec *options, Cardinal num_options, int *argc_in_out, String *argv_in_out, String *fallback_resources, WidgetClass widget_class, ...);
 

ARGUMENTS

app_context_return
Specifies the application context.
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_in_out
Specifies a pointer to the number of command line parameters.
argv_in_out
Specifies the command line parameters.
fallback_resources
Specifies resource values to be used if the application class resource file cannot be opened or read, or NULL.
widget_class
Specifies the widget class of the shell to be created.
args
Specifies the argument list to override any other resource specification for the created shell widget.
num_args
Specifies the number of entries in the argument list.
...
Specifies the variable argument list to override any other resource specification for the created shell widget.
 

DESCRIPTION

The XtOpenApplication function calls XtToolkitInitialize followed by XtCreateApplicationContext, then calls XtOpenDisplay with display_string NULL and application_name NULL, and finally calls XtAppCreateShell with application_name NULL, the specified widget_class, and the specified args and num_args and returns the created shell. The modified argc and argv returned by XtDisplayInitialize are returned in argc_in_out and argv_in_out. If app_context_return is not NULL, the created application context is also returned. If the display specified by the command line cannot be opened, an error message is issued and XtOpenApplication terminates the application. If fallback_resources is non-NULL, XtAppSetFallbackResources is called with the value prior to calling XtOpenDisplay.

XtAppInitialize and XtVaAppInitialize have been superceded by XtOpenApplication and XtVaOpenApplication respectively.  

SEE ALSO

XtAppInitialize(3), XtVaAppInitialize(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface


 

Index

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.7 ms