| Did you know ... | Search Documentation: |
| Send methods |
<-active.
->all_active->active_member
for all member popups.
->active_member->all_on->on
on the specified popup
object, activating all
menu_item objects
part of it.
->all_off|popup]<-buttons
with the following attributes:
button <-popupSet to the popup dialog_item <-labeldialog_item <-labelbutton <-fontSet to dialog_item <-label_fontgraphical <-penSet to graphical <-penbutton <-radiusSet tp menu_bar <-radius
The dialog_item<-label_font, graphical<-pen
and menu_bar<-radius of the button are
<-look
equals open_look. Because an OpenLook menu-bar really is a row of
buttons.
If the alignment argument is right, this
button is flushed to the right if the menu-bar is resized to be wider
than the space required by the buttons. Motif and Windows 95
look-and-feel normally flush the help menu to the right:
..., new(MB, menu_bar), send(MB, append, new(F, popup(file))), send(MB, append, new(H, popup(help)), right), ...,
->delete ->clear
See also dialog->assign_accelerators
and menu->assign_accelerators.
->append<-item_size.
The menu_bar<-item_size is the largest of
menu_bar.size
and the size needed to display the largest label.
.size->appendwidth argument is not
@default and
larger than the space required by the buttons, the first button with dialog_item<-alignment
and all succeeding buttons are flushed to the right. See also menu_bar->append.<-member).
Diagnostics: The default name is the class name
(menu_bar).
-label_font|menu_item->on|menu_item->on
with same argument on all member popups. Always succeeds.
->off<-current
and dialog_item->open
it. See also menu_bar<-current
and
menu_bar<-popup_from_event.
Used by menu_bar->event.