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
--
_______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
