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
Post a Comment