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
XmtInitializeApplicationShell(3) FreeBSD Library Functions Manual XmtInitializeApplicationShell(3)

XmtInitializeApplicationShell() - set initial application resource values.

#include <Xmt/AppRes.h>

void XmtInitializeApplicationShell(Widget w, ArgList args, Cardinal num_args)

INPUTS
w
The root shell widget to be registered and have its application resources read, or any descendant of that widget.
args
An array of resource name/value pairs to override application resource values specified in the resource database or on the command line.
num_args
The number of elements in the args array.

XmtInitializeApplicationShell() obtains values for the application resources used by the Xmt library from the resource database and overrides them with any values specified in the args array. These values are stored in a private structure associated with the shell widget for later use by the library. This function also initializes some private values that the Xmt library maintains for each root shell in an application. See Chapter 7, Application Resources and Command-Line Arguments, for a complete list of the Xmt application resources.

XmtInitializeApplicationShell() does not make copies of any string resources passed to it. This means that any strings passed in the args array must be constants or must be in memory that will not be modified or freed.

You need only call XmtInitializeApplicationShell() if you want to explicitly hardcode some application resource values with the args array. If you do not call this function your self, the Xmt library will call it the first time it needs to look up an application resource.

XmtInitializeApplicationShell() has another purpose-it registers the name of the specified application shell for use by XmtNameToWidget() and the Xmt String-to-Widget converter. This is important only in applications that have more than one root shell widget, and want to be able to refer to widgets by name between the separate widget hierarchies.

Chapter 7, Application Resources and Command-Line Arguments, XmtGetApplicationValues(), XmtInitialize(), XmtNameToWidget(), XmtParseCommandLine(), XmtSetApplicationValues().
Motif Tools Xmt

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

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