However, to aid you in learning Sun WorkShop Visual, we discuss some commonly used Motif resources in this book. As you become more experienced, you should consult the Motif documentation for complete information about its widget set and the possible resource settings for each widget. If you are using widgets from other toolkits, consult the documentation from the widget developer for guidelines. Sun WorkShop Visual provides an interactive editor, the Layout Editor , for setting attachments. Some classes of widgets have counterparts called gadgets .
Gadgets are like widgets but have a more restricted set of resources.
Because gadgets are less expensive than widgets in terms of machine resources, they are sometimes preferred. Protection from Invalid Actions Sun WorkShop Visual has many features designed to protect you from specifying widget hierarchies or resource combinations which are not valid in Motif. Commands that cannot be executed in the current circumstances, resources that do not apply to a particular widget and the icons of widgets that are not valid children of a proposed parent widget are grayed out on the screen, as shown in Figure 1-3 . Grayed-out commands, resources, and icons have no effect if selected. This subject is discussed in the Using the Resource Panels chapter.