No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I have created a checkbutton within a dialog box. But, I am not able to capture the value of the checkbutton. The value always seems to be 0 whether checked or not. [CODE] class MyDialog: def __init__(self,parent): self.Frame1= Tix.Frame(parent) self.Frame1.pack(side=Tix.LEFT, fill=Tix.BOTH) self.enabled = Tix.IntVar() self.checkbutton = Tix.Checkbutton(self.Frame1,text = "Enable … |
|
Hi, Is there anyway I can get the scrollbar to display the last line of text always i.e the bar of the scrollbar should be dragged down by default ? I use Tkinter and Python 2.4 Thanks |
|
Hi, I am using Python 2.4 on Windows. I'm trying to save the contents of the debug window. I managed to redirect all print statements so that it prints on the debug window as well as saves a copy into a text file. The code is shpwn below: [CODE] import … |
|
Hi, I'm working on Python 2.4 and use tkinter to build my GUI. I want to display content(line) from the listbox only when it is selected. [CODE] def get_list(event): # get selected line index index = Listbox.curselection()[0] # get the line's text seltext = Listbox.get(index) print seltext Listbox.bind('<ButtonRelease-1>', get_list) [/CODE] … |