Creating a Menu When a Titlebar Icon is Pressed
I have a titlebar that contains an icon. When the icon is pressed I want to display an Ext.menu.Menu.
I have a handler for the icon:
handler: function(e, target, panel)
The question I have is how do I display the menu at this point?
Also, is it possible to associate the Menu at the window creation time so I would not even need a handler?
Any suggestions would be appreciated.