[chimera-dev] pull down menus

Eric Pettersen pett at cgl.ucsf.edu
Mon Apr 13 17:17:17 PDT 2015


Well, it's not a public API, but you seem like a brave sort. ;-)  chimera.tkgui._createMenus(parent) will create a Tk.Menu (with parent as its parent widget), fill it in with the same contents as Chimera's main set of menus, and return that Menu instance.

Should work. :-)

--Eric

                        Eric Pettersen
                        UCSF Computer Graphics Lab
                        http://www.cgl.ucsf.edu

On Apr 10, 2015, at 7:32 PM, "Dougherty, Matthew T" <matthewd at bcm.edu> wrote:

> When I am using chimera I am frequently using it with two monitors.  One monitor has the 3D graphics maximized.  The other monitor has the dialog boxes and various control GUI.
> 
> Thing get messy when I use the graphics in stereo3D, particularly DTI SBS-half; such as save session.  The cursor does not track easily to the pull down menus of the  3D graphics window.
> 
> I would like to copy all the pulldowns (not changing the originals) onto some gui on my other monitor.
> 
> Is there an easy way I replicate these pulldowns using an python extension I would write?  Is there one place in the chimera code that sets up the pulldowns?
> 
> 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20150413/7618b057/attachment.html>


More information about the Chimera-dev mailing list