[Tkinter-discuss] tkinter pmw notebook
dimitri pater
dimitri.pater at gmail.com
Wed Apr 20 12:40:38 CEST 2005
Hello,
does anybody knows how to automatically refresh the content of a page of a
notebook? I have been trying several things, no success.
Pseudo code:
class Notebook:
def __init__(self, parent):
page = notebook.add('Project')
page = notebook.add('Database')
b = Tkinter.Button(self.frame2, text='Refresh', width=25, underline=0,
command=self.refreshDB)
b.pack(side="left", padx=2, pady=2)
def refreshDB(self):
Now, I use a button on the second page of the notebook, but what I really
want is to automatically refresh the page when the user clicks the
"Database" tab.
Thanks in advance!
Dimitri
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20050420/ac64a858/attachment.html
More information about the Tkinter-discuss
mailing list