Anyone have some code that shows proper use of the View.show_popup_menu() method?
Thanks!
Anyone have some code that shows proper use of the View.show_popup_menu() method?
Thanks!
Very basic example, tested in console:
view.show_popup_menu( 'foo', 'bar'], None )
(None should be a callback though)
If this will allow disabled items, would be a great replacement for real tooltips