Solaris Common Desktop Environment: Motif Transition Guide

Terminology

The XView toolkit and the Xt (OLIT and Motif) toolkits use the following terminology:

XView 

Xt (OLIT and Motif) 

Package 

Widget 

Attribute 

Resources 

Frame 

Shell 

XView is based directly on Xlib, whereas Motif is based on the Intrinsics (Xt) toolkit and the Intrinsics toolkit is based on Xlib.

XView 

OLIT 

Motif 

XLib 

Xt 

Xt 

 

XLib 

XLib 

Because of this fundamental difference, the basic library functions to initialize the environment and create, modify and destroy graphical objects, are different, as shown in the following examples:

XView 

Motif/Xt 

xv_init()

XtAppInitialize()

xv_create()

XtCreateWidget()

xv_set()

XtSetValues()

xv_destroy()

XtDestroyWidget()

Functions that deal with event handling callbacks, and internationalization features, for example, get more complicated. For these features, simple one-to-one correspondence does not exist.