Menus - defining¶
A menu is declared as a clause of the window in which it appears, using the form:
menu menu_id {
clauses
menuitem item_id {clauses}
… other items
}
A menu definition differs from that of other window objects. It is not necessary to specify +|–, because a menu is always created with its parent window; and a menu requires no co-ordinates as it is automatically placed at the top of the window.
RELATED TOPICS |