On Jul 2, 2015, at 6:11 PM, "Dougherty, Matthew T" <matthewd@bcm.edu> wrote:

2) How can I position the location of IDLE using python?

I have IDLE on autostart.  In a user extension I have a button, when pressed it organizes the various dialogs, placing them in specific locations.  When I try to do something with IDLE, running dialogs.activeDialogs() does not show IDLE in the list.

Yeah, IDLE uses it's own window that isn't a "Chimera dialog" per se, so it doesn't show up in that list.  If you're desperate, starting IDLE calls start_shell() in IDLE/__init__.py.  Tracing that code along reveals that IDLE.flist.pyshell is the IDLE PyShell instance (or None).  From there I guess you could keep going into the idlelib module to try to figure out how to get PyShell to do what your want.  It doesn't seem worth it. :-(

--Eric

                        Eric Pettersen

                        UCSF Computer Graphics Lab

                        http://www.cgl.ucsf.edu