Re: [chimera-dev] Tkinter_Idle askyesno issue

Hi, I still have the same bug. The same file works fine if I run it with my local version of Python(on Suse 9.2), but when run through the Chimera Idle version it always returns "False". #------------------------------------------------------ import Tkinter import tkMessageBox print tkMessageBox.askyesno("Dialog","Click Yes or No") #------------------------------------------------------ cheers Wolf Cochrane tried this on Chimera 1.2184 on a Windows XP system and the code returns True when you click Yes and False when you click No. Conrad On Jan 11, 2006, at 8:45 AM, Wolf Cochrane wrote:
Hi
Is it just me of does this bit of code always print "False" when
run through Idle (Chimera v1.2065). If so, how to I get around it without having to build my own dialogs.
import Tkinter import tkMessageBox
#root = Tk() #root.geometry("500x510") #root.title("Yes/No")
#root.mainloop()
print tkMessageBox.askyesno("Linker range","Click Yes if a range of Linkers will be used at this Permutation Site")
Thanks Wolf
_______________________________________________ Chimera-dev mailing list Chimera-dev@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev

Can you please try the same thing with Chimera's version of Python? It's in $CHIMERA/bin/python2.4, where $CHIMERA is where you installed Chimera. Thanks, Conrad On Jan 12, 2006, at 12:01 AM, Wolf Cochrane wrote:
Hi,
I still have the same bug. The same file works fine if I run it with my local version of Python(on Suse 9.2), but when run through the Chimera Idle version it always returns "False".
#------------------------------------------------------ import Tkinter import tkMessageBox
print tkMessageBox.askyesno("Dialog","Click Yes or No")
#------------------------------------------------------
cheers Wolf Cochrane
tried this on Chimera 1.2184 on a Windows XP system and the code returns True when you click Yes and False when you click No.
Conrad
On Jan 11, 2006, at 8:45 AM, Wolf Cochrane wrote:
Hi
Is it just me of does this bit of code always print "False" when
run through Idle (Chimera v1.2065). If so, how to I get around it without having to build my own dialogs.
import Tkinter import tkMessageBox
#root = Tk() #root.geometry("500x510") #root.title("Yes/No")
#root.mainloop()
print tkMessageBox.askyesno("Linker range","Click Yes if a range of Linkers will be used at this Permutation Site")
Thanks Wolf
_______________________________________________ Chimera-dev mailing list Chimera-dev@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev
Chimera-dev mailing list Chimera-dev@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev
participants (2)
-
Conrad Huang
-
Wolf Cochrane