XmGetFocusWidget() routine returns the widget that has the input focus, while XmGetTabGroup() returns the
widget that is the tab group for the specified widget. You can also call XmIsTraversable() to determine whether
or not a particular widget is eligible to receive the input focus. With Motif 1.1, you often cannot determine which
widget has the input focus or where a particular widget is in the widget tree relative to the current input item.
9.9 Summary
Manager widgets are the backbone of an application. Without them, primitive widgets have no way of controlling
their size, layout, and input focus. While the Motif toolkit provides many different manager widget classes, you may
find that there are some things that you cannot do with them. Experienced toolkit programmers have found that it is
possible to port Constraint class widgets from other toolkits to the Motif toolkit, by subclassing them from the generic
Manager widget class. This topic is beyond the scope of this book.
This chapter introduces the Motif manager widgets, but it does not discuss in detail some of the basic issues of
geometry management. If the basic concepts presented in this chapter are still somewhat foreign to you, see
Volume Four, X Toolkit Intrinsics Programming Manual, for a more in−depth discussion of composite widgets and
geometry management.
9 Manager Widgets 9.9 Summary
251