Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ OlToolkitInitialize(3W) — SunOS 5.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

initialization(3W)

NAME

OlToolkitInitialize, OlInitialize − mandatory initialization routine

SYNOPSIS

#include <X11/Intrinsic.h>
#include <Xol/OpenLook.h>
 . . .
void OlToolkitInitialize(

XtPointer NULL);

Previous Version, Now Obsolete:

#include <X11/Intrinsic.h>
#include <Xol/OpenLook.h>
 . . .
void OlInitialize(

String shell_name,
String application_class,
XrmOptionDescRec ∗options,
Cardinal num_options,
Cardinal ∗argc,
String argv[]);

DESCRIPTION

OlToolkitInitialize is the new toolkit initialization routine with Version 3, replacing the previous OlInitialize, which continues to exist in the toolkit for this release, but whose use is discouraged. 

Note the change in arguments.  The arguments to the obsolete OlInitialize routine were similar to the arguments to the standard XtInitialize routine. 

OlToolkitInitialize must be called by each application before any OPEN LOOK widgets are created or other OPEN LOOK routines are used. 

The suggested method of initializing an OLIT application is to use OlToolkitInitialize followed by some combination of:

XtAppInitialize()

XtToolkitInitialize();

XtCreateApplicationContext();

XtOpenDisplay() or XtInitializeDisplay();

XtAppCreateShell();
 

Version 3.0.1  —  Last change: June 92

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026