Although not quite an answer, I found this useful... _notebooknotify = {} def addopenlistener(self,page,action): self._notebooknotify[str(page)] = action def notify(event): id = str(event.widget.select()) if id in self._notebooknotify: self._notebooknotify[id].run()
self.addopenlistener(child,action) # causes action.run() to be invoked every time child is opened and it also give you a good place to put in tracing/logging/etc -- View this message in context: http://python.6.n6.nabble.com/ttk-Notebook-how-to-bind-to-tab-events-tab-caption-has-focus-or-mouseover-tp1978460p4962779.html Sent from the Python - tkinter-discuss mailing list archive at Nabble.com. _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss