Next: Manager Widgets Up: Widget Basics Previous: Primitive Widgets

Gadgets

There may be occasions in Motif programming when we want to have the properties of a primitive widget but do not need to worry about the management of the window properties of the widget.

Motif will have to manage each widget's window. If we have several widgets this could slow down our application.

Gadgets are basically windowless widgets and serve to alleviate this problem.

The following gadgets are available: ArrowButton, Label and Separator.

They behave like their corresponding widgets.

We will not consider gadgets further in this course since our programs are relatively simple and the course is not long enough.


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