Hi Osvaldo,

set the master explicitly, otherwise it will use the PyMOL gui as master 
I guess.

v = StringVar(master=master)

Cheers,
   Thomas

On 08/03/2011 05:27 AM, Osvaldo Martin wrote:
> Hi,
>
> I am trying to write a PyMOL plugin with radio buttons. But I am having
> problems.
>
> 1) the last two radio button looks gray and checked. (I think the
> correct behavior should be; only one checked and none gray) setting a
> different default value (using ref_value.set()) does not change anything.
>
> 2) I always get the default value ("1" in this example) when hit the
> submit button.

-- 
Thomas Holder
MPI for Developmental Biology

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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