Next: Gadgets Up: Widget Basics Previous: Widget Basics

Primitive Widgets

The following primitive widgets are specified in Motif:

ArrowButton
- a button with an orientable arrow. See arrow.c program in ``Combining Widgets'' section.
Label
- has four sub-classes: PushButton, DrawnButton, CascadeButton and ToggleButton.
Scrollbar
- Allows contents of a window to be displayed in a smaller area where the user can scroll the window to view other parts of the window.
Separator
- Used to separate adjacent items in a display.

List
- allows a selection from a list of text items.
Text
- a complete text editor widget.
TextField
- a single-line text editor.

We have already seen the PushButton widget in operation. Some of the other widgets (notably button) operate in a similar fashion. Full details of all widgets can be found in the Motif Reference Manuals. We will study some others later.


Dave.Marshall@cm.cf.ac.uk
Tue May 24 16:52:56 BST 1994