[chimera-dev] Model panel rename

Eric Pettersen pett at cgl.ucsf.edu
Wed Oct 14 11:18:09 PDT 2015


> On Oct 13, 2015, at 4:19 PM, Dougherty, Matthew T <matthewd at bcm.edu> wrote:
> 
> When the dialog box comes up, is there a way I can place it in a specific location?

The shortest answer is no, not reliably.  Chimera does some crazy stuff to get the “tile placement” of its dialogs to (mostly) work.  In particular, there’s a bunch of timed waits to try to get accurate final size information for the dialog before it finally gets moved to its tiled position.  So, after a second or so, you might be able to move the model panel so that it’s upper left corner is at pixel position x,y (with the origin at the upper left of the screen) with:

mp.uiMaster().winfo_toplevel().geometry(“+x+y”)

—Eric

	Eric Pettersen
	UCSF Computer Graphics Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20151014/58bf207b/attachment.html>


More information about the Chimera-dev mailing list