Hi Louis-Philippe,

the viewer window is managed by GLUT, not by Tk. But this might work for you:

cmd.window('hide')
cmd.window('show')

Cheers,
  Thomas

On 13 Jan 2015, at 11:05, Louis-Philippe Morency <lmore...@me.com> wrote:

> Hi,
> 
> I’m currently developing a PyMOL plugin and I am currently unable to achieve 
> this : Lift the PyMOL Viewer Window (the one with 3D structures shown). We 
> use a lot of Wizards and upon starting a new Wizard, I want the PyMOL viewer 
> window to raise above others (done with the TKinter .lift() method). My 
> problem is: I can lift the PyMOL Molecular Graphics System window (the one 
> with menus and console, etc) but I am unable to do it with the Viewer. My 
> guess is the PyMOL Molecular Graphics System is the parent to the PyMOL 
> Viewer Window and I would like to know how to acces it. 
> 
> Thanks in advance,
> 
> Louis-Philippe Morency
> Étudiant au doctorat || PhD student
> Laboratoire du Pr Rafael Najmanovich
> Faculté de Médecine et des Sciences de la Santé (FMSS)
> Université de Sherbrooke
> lmore...@me.com

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to