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

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -