XtAppInitialize



XtAppInitialize

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XtAppInitialize, XtVaAppInitialize − initialize, open, or close a display

SYNTAX

Widget XtAppInitialize(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(XtAppContext* app_context_return, String application_class, XrmOptionDescRec* options, Cardinal num_options, int* argc_in_out, String* argv_in_out, String* fallback_resources, ...);

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.

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 XtAppInitialize 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, widget_class applicationShellWidgetClass, 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 XtAppInitialize 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

XtOpenApplication(3Xt), XtVaOpenApplication(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.