user interface - How to disable a toolbar LabelTool in wxpython -


i have created labeltool item in toolbar. want know how disable item.

why disable label? labels viewing purposes. user cannot interact them anyway.

edit: looks robin dunn answered similar question (maybe yours?) on wxpython mailing list today: https://groups.google.com/forum/?fromgroups#!topic/wxpython-users/eo9gxo8r6em

he gave following example:

toolbar.enabletool(toolid, true)  # or false disable  

which code use enable / disable tool bar widget


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -