[Tkinter-discuss] ttk.Notebook - how to bind to tab events (tab caption has focus or mouseover)
python at bdurham.com
python at bdurham.com
Wed Dec 15 15:28:51 CET 2010
I'm using the ttk.Notebook widget. What object do I bind to
capture events related to specific tabs?
I would like to trap when a tab caption gets keyboard focus
('<FocusIn>') and when the mouse pointer is over a specific tab
caption ('<Enter>').
I can trap mouse clicks on tabs (<Button-1>, <Button-3>), but I
can't find a way to determine what tab a user clicked on in the
case of a right click.
Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101215/efbd0123/attachment.html>
More information about the Tkinter-discuss
mailing list