hiAddFixedMenu
hiAddFixedMenu( [?windoww_window] ?fixedMenug_fixedMenu[?menuSides_menuSide] [?appendg_append] [?newLineg_newLine] ) =>t / nil
Description
Fixed menus are no longer supported in windows. Use the new toolbar functions to create toolbars instead for windows. Existing fixed menus that have been added to windows are no longer displayed, although no warnings are being generated. Replace these menus with toolbars.
Adds or replaces a vertical fixed menu on a window.
You can have multiple fixed menus in a window. To add the new menu to any existing fixed menus, set the ?append argument to t; to replace all existing fixed menus with the new menu, set ?append to nil.
The menu can be placed on the left, right, or top edge of the window. When you create the menu, you can specify the location with the ?menuSide argument.
To place a fixed menu on the root window (screen), instead of attaching it to a graphics window, use the hiDisplayFixedMenu function.
Arguments
Values Returned
Examples
menu = hiCreateVerticalFixedMenu(...)
hiAddFixedMenu(?window window(5) ?fixedMenu menu
?menuSide ’right)
Related Topics
Return to top