[chimera-dev] User interface

Tom Goddard goddard at sonic.net
Mon May 4 10:29:26 PDT 2015


Hi Matt,

Chimera uses tabbed windows in a few places.  This uses the PMW (Python MegaWidget) toolkit that extends the Tk window toolkit to have fancier widgets.  I have not used PMW.  I’d suggest finding the closest dialog in Chimera using its Python code as a starting point.  There is a session saving example in the Chimera programmer’s guide:

	http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/Main_SessionSave.html

User interface programming is a lot of work.

	Tom

> On Apr 29, 2015, at 1:19 PM, Dougherty, Matthew T wrote:
> 
> I have been writing some extensions and maxed out my real estate for my control panel buttons, widgets, etc.
> 
> I figure I need to rewrite it to be more like the viewer tool, having tabs at the top to select different gui menus.
> 
> Can you offer me some ideas for a organizational strategy along with code ideas?
> Eg, getting menu items to save/restore as part of a session file.
> 
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> ===========================================================================
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimera-dev





More information about the Chimera-dev mailing list