Fundamentals > User Interface Basics > Customizing the Non-ribbon User Interface > Customizing the Menu Manager > Referencing Mapkeys in menu_def.pro settings
  
Referencing Mapkeys in menu_def.pro settings
You can also reference mapkeys in a menu_def.pro line with the following syntax:
%<mapkey name>
For example, if you have your config.pro file contains the following mapkey definition:
mapkey repaint ~ Activate `main_dlg_cur` `View.psh_view_repaint`
you can reference your menu_def.pro button definition using the following syntax:
@setbutton PART Update#Model %repaint
where % repaint is the direct reference to the mapkey.
 
* To add menu items to the menu bar or toolbars, use the Customize dialog box (Tools > Customize Screen).