Overview of Item Types

Menubar Items

Menubar items are widgets that define a pull-down menu. They contain a list of menus. When the consituent menus are pressed, their member menuitems and checkboxmenuitems are displayed and may be selected. Menubars are created with widget commands of the following form:

pathName create menubar [option value option value ...]

Menubars are one of several widgets that are designed to mirror the functionality and usage of the standard widgets in Java's Abstract Windowing Toolkit (AWT). When menubars are created, they automatically get the tag "MenuBar". Menubars have no default event handlers which define their behavior.

The following options are supported for menubars:

-fill [23] Specifies fill color of menu

-members [38] The list of members of a menu

See the documention for Menu items for some example code that uses menubars.


Pad++ Reference Manual - 20 JUN 1997

Copyright Computer Science Department, The University of New Mexico

Web Accessibility