Sublime Forum

show_popup_menu examples?

#1

Anyone have some code that shows proper use of the View.show_popup_menu() method?

Thanks!

0 Likes

#2

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 :wink:

0 Likes

#3

Sweet, thanks for that!

0 Likes