Description:
The onShow
property of the menu object is an event
handler for the event of when the options menu is open. In other words, when
the end user presses the left softkey, the system will fire an event and a
widget can catch the event by providing a callback function.
For more general information on using an options menu in your widget, see Using softkeys.
Syntax:
[void] window.menu.onShow = function() { }
or
[void] menu.onShow = menupaneShown; function menupaneShown() { // ... }