Technical data
ModelSim graphic interface quick reference
108
-
ModelSim EE Graphic Interface ModelSim EE/PLUS Reference Manual
Customizin
g
the interface
Try customizing Model
Sim
’s interface yourself; use the command examples for
add button
(p258) and
add_menu
(p264) to add a button to the Main window,
and a new menu to the Signals window (p150). Results of the button and menu
commands are shown below.
Buttons the easy way
"The Button Adder" (p230) tool makes adding buttons easy. Use the
Window >
Customize
menu selection in any window to access the Button Adder. Buttons
you create are not permanent; the exist only during the current session. To reuse a
button, save the Main transcript (
File > Save Main as
) after the button is created.
Edit the file to contain only button-creation commands, then pass the filename as
an argument to the
do
command (p302) to recreate the button.
• The pwd button was added to
the Main window with the
add
button
command (p258).
Buttons can be added to the
menu bar and status bar as well.
• The Mine menu was added to
the Signals window with the
add_menu
command (p264).
• The Do My Own Thing menu
item was added with the
add_menuitem
command
(p268)
• The menu separator was
added with the
add_separator
command (p269).
• The ChangeCase and Vars
submenus were added with the
add_submenu
command
(p270).
• You can also add a menu
checkbox (like those in this
menu tearoff ) with the
add_menucb
command
(p266).