Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

initialization(3w)  —  OLIT Widget Set

NAME

OlToolkitInitialize, OlInitialize − mandatory initialization routine

SYNOPSIS

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

XtPointer NULL);

Previous Version, Now Obsolete:

#include <X11/Intrinsic.h>
#include <Xol/OpenLook.h>
 . . .
Widget 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  —  Last change: 19 July 91

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