Motif provides several classes of widgets. One such class is the Manager Class, which is a class of widgets which are used to group or control other widgets.
The Bulletin Board widget is the most basic Manager: a child is 'pinned' onto the bulletin in a specific location until moved. The Bulletin board imposes no layout policy on child widgets.
The Form widget is derived from Bulletin Board: the Form provides complex geometry management capability which allows extensive positioning, both relative and absolute, for any children.
The Row Column widget simply lays out any children in rows or columns. Motif internally uses the Row Column to implement many other widgets, for example, the Menu Bar, Option Menu, Popup Menu, Pulldown Menu, and Radio Box widgets.
The Frame widget provides a border around objects, and is useful for framing widgets such as the RowColumn which do not provide a border themselves. The Frame sizes itself just big enough to contain any children.
The Paned Window widget imposes a vertical tiling layout policy on child widgets. The width of a Paned Window is taken from the width of the largest child. The heights of individual children can be manipulated by the user using control Sashes provided for the purpose.
The Drawing Area widget is derived from Manager, although in essence it is a free-form widget which can be used for any application purpose. The Drawing Area does not actually perform any drawing itself.
The Scrolled Window widget provides a viewport onto another widget. The viewport can be adjusted using scrollbars provided for the purpose. The Scrolled List and Scrolled Text widgets are derivative of Scrolled Window.
The Main Window widget is also subclassed from Scrolled Window. The widget is intended to provide a standard main application layout. It assumes that the standard main application will consist of menubar, work area, and message area.
The Scale widget is not a general purpose Manager, although it does manage a group of widgets in order to provide a slider object.
Motif also provides some pre-defined managers which form the basis of whole dialogs: the MessageBox, SelectionBox, FileSelectionBox, and Commands widgets.
The Motif 2.1 version of the toolkit also provides the Container manager. This widget provides an object-oriented approach to the presentation of application objects, which are pictorially represented by IconGadget children. The Container provides a variety of presentation styles which can be changed dynamically: a Tree (Outline) view, a Grid, and a free-format Spatial style are supported.
The Motif 2.1 Notebook is a general purpose manager which lays out its children in logical pages. Tabs can be added to the widget in the form of PushButtons which, when pressed, arrange to display an associated page.
Also in Motif 2.1 is the SpinBox widget. This widget is a general purpose manager which arranges to rotate through a set of values associated with its TextField children. The widget adds a pair of ArrowButtons which are used to increment or decrement the current value of a TextField child.
The Motif 2.1 SimpleSpinBox is similar to the SpinBox, except that it is not a general purpose manager: it comes with a ready-prepared built-in TextField child.
See also: