enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.31k stars 285 forks source link

Add an easy way to customise (move, hide, disable/add elements) the toolbox in a visualization scene. #113

Open jamasi opened 10 years ago

jamasi commented 10 years ago

I'd like to have an easy (or at least properly documented) way to customise the toolbox of any mayavi scene window embedded in a PyQT4 application. From searching the documentation and the web I was not able to find a working solution for this.

It would be great if one could just write some code like: scene.toolbox.addButton(ButtonObject) scene.toolbox.hide() scene.toolbox.move("left") # "top", "bottom", "right"

jwiggins commented 10 years ago

@jamasi: At least for hiding, this is possible if you're using enaml for your GUI: enthought/traits-enaml#31