Hi Wilson,

The following works for me:

# put the PyMOL window at 100,100 on startup

./pymol -X 100 -Y 100

I don't think we can programmatically move the OpenGL window once it's
started up, however.

On MacOS X 10.8 and the windowing system overrides these values; Linux and
Windows should operate correctly.

Cheers,

-- Jason


On Fri, Feb 8, 2013 at 4:04 PM, Wilson Omesiete <womesi...@gmail.com> wrote:

> Is it possible to control the screen location of the viewport during run
> time through the API? Currently I am using...
>
> import os, wx, __main__
>
> app = wx.App()
> os.environ['PYMOL_PATH'] = "C:\Python27\PyMOL"
>
> __main__.pymol_argv = [ 'pymol', "-qx"] # Quiet and no GUI
> import pymol
> pymol.finish_launching()
>
> app.MainLoop()
>
> ...to load PyMol without the external GUI in quiet mode. I tried passing
> "-qxX 30Y 50" in argv, but that change causes PyMol to load forever, also
> that would only give control over the initial position if it worked.
>
> --
> Wilson Omesiete
> School of Biochemistry
> Georgia Institute of Technology
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> 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
>



-- 
Jason Vertrees, PhD
Director of Core Modeling Product Management
Schrödinger, Inc.

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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