# Cascade Button widget

The Cascade Button widget is used in menu systems to provide menus from the Menu Bar and to provide pulldown (more accurately, pullright) menus from a Menu.

It is normal to have a submenu off a Cascade Button but it is not required. For instance, a Cascade Button on a Menu Bar could be used to popup a help dialog.

A cascade button is an example of a Label and so shares its resource panel.

For more information on Cascade Buttons, see XmCascadeButton(3X) in the OSF/Motif Programmer's Reference.

NOTES

The visual representation of the relationship between Cascade Buttons and Menus within WorkShop Visual is different from the actual relationship. In Motif, Cascade Buttons and Menus are both children of the Menu Bar parent of the Cascade button but WorkShop Visual displays the Menu as a child of the Cascade Button. This is clearer in that it shows which Cascade Button is associated with which Menu. WorkShop Visual does, of course, generate code with the correct relationship.

A Cascade Button only supports the inclusion of, at most, one Menu widget.

See also:

- Menu Bar widget
- Menu widget
- Label resource panel
- About WorkShop Visual