POPUP-ONLY attribute

Indicates whether a menu is pop-up or a menu bar.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: MENU widget

Set the POPUP-ONLY attribute to TRUE to use the menu as a pop-up menu. Otherwise, the menu is a menu bar that you can associate with a window. FALSE is the default value. You can set this attribute only before the menu is realized.