The Menueditor

The menueditor is opened by selecting "Edit" in the main menubar and hereafter selecting the "Edit Menus..." item. It is still under development, so you might like to see the list of known bugs and shortcomings.

The left part of the window is for managing the menus as a whole, while the right side is for managing the individual items in each menu.

A demo of the menu is shown in the top left corner of your screen. Do not click on this menu as it is only for visual demonstration. Use the arrow keys in the menueditor window to select different items in the menu.

Managing Menus

The left part of the window is for managing the menus as whole entities. The listbox shows the widget names of all existing menus. The one selected here will be shown in the top left hand corner of the screen and can be editted in the right hand side of the menu editor window. It is up to the user to name the menus so that they comply with correct Tcl/Tk syntax. The file demo/newmenudemo.ui is a good example of how to do this.

Menu Properties

The overall properties of a menu can be edited with the same tools as used for other widgets (but only when the menueditor window is open). The window for editting widget properties is obtained either by pressing Ctrl-w or by selecting the "Widget Properties..." item in the "Edit" menu in the main window. Common properties such as font and background color can be changed quickly from the toolbar in the main window.

Managing Items

The right part of the menueditor window shows the available properties for the selected item in the selected menu. These can be changed by editing the values and pressing the Update button or the Return key on your keyboard. The type should always be set first as it resets all the other values. Other things that one can do are: