Library globals

Function globals . canvas . MFD_Generic . PFD_Page . addMenuItem

View source

Add an item to a menu
Params:
menu button id (that is set in controls/PFD/button-pressed by the model)
title of the menu for the label
page that will be selected when pressed

The corresponding menu for the selected page will automatically be loaded

Parameters

menu_id

title

page

callbackfn
optional

displayfn
optional