Michael, >> Is there a way to drill-down to the Tk label controls in the captions >> and bind to their <FocusIn> events? Or is there a way to expose the tabs >> as actual widgets whose events can be bound to?
> I don't think this is possible, it looks like the notebook widget itself > is one window that catches the <Tab> event and decides what to do - draw > the focus indicator onto the next tab or pass the focus to another window. > But, a far as I see, at least here with IceWm any time a tab receives the > keyboard focus it will be selected as well, so maybe you can play around > with the select mechanism, depending on what exactly you want to achieve. Thank you for taking the time to investigate this behavior. I just posted an advanced example of a ttk.Notebook with close controls on the tabs. Apparently, it is possible to drill down into the child tab controls of the ttk Notebook using out-of-the-box ttk (without resorting to tcl magic). I'm studying this example now to see what may be possible regarding raising a got focus event for individual tab widgets ... as well as other advanced capabilities as well. Cool stuff!! Malcolm _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss