Solaris Common Desktop Environment: Motif Transition Guide

Widgets

Both the OLIT and Solaris Motif toolkits support a number of common widgets and gadgets with similar functionality, and each supports a number of more exclusive widgets. If a widget is implemented in one toolkit but not in the other, you can often build an equivalent object using multiple widgets in the other toolkit.

Table 5-4 matches the common widget name to the actual class name of the widget in each toolkit.

Table 5-4 Common Widget Mapping

OLIT Class Name 

Solaris Motif Class Name 

BulletinBoard

XmBulletinBoard 

DrawArea

XmDrawingArea

ExclusiveChoice + RectButtons

XmRowColumn + XmToggleButtons (Radio Box)

Form

XmForm

Manager

XmManager

MenuButton

DtMenuButton (not accessible in OpenWindows environment)

NoticeShell

XmDialogShell + XmMessageBox

AbbrevMenuButton

XmRowColumn (Option Menu)

PopupWindowShell

XmDialogShell

NonExclusiveRectButton

XmRowColumn + XmToggleButtons (Check Box)

PopupMenuShell

XmMenuShell

Primitive

XmPrimitive

OblongButton

XmPushButton

ControlArea

XmRowColumn

Scrollbar

XmScrollBar

ScrollingList

XmList + XmScrolledWindow

ScrolledWindow

XmScrolledWindow

Slider

XmScale

StaticText

XmLabel

TextEdit

XmText

TextField

XmTextField

RectButton

XmToggleButton

Widgets Exclusive to Solaris Motif

This section briefly describes the widgets that are exclusive to Solaris Motif.


Note -

These widgets are also available for Motif development in the OpenWindows environment, except for the DtTerm, DtEditor, DtComboBox, DtSpinBox, and DtMenuButton widgets.


The libDtWidget library, which contains the DtComboBox, DtSpinBox, DtMenuButton and DtEditor widgets, depends directly on the following libraries:

Widgets Exclusive to OLIT

This section briefly describes the widgets that are exclusive to OLIT.