<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!--body{padding:1ex;margin:0px;font-family:sans-serif;font-size:small;}a[href]{color:-moz-hyperlinktext !important;text-decoration:-moz-anchor-decoration;}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em;}blockquote blockquote{border-color:#006312;}blockquote blockquote blockquote{border-color:#540000;}--></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>I'm using the ttk.Notebook widget. What object do I bind to capture events related to specific tabs?</div>
<div>&nbsp;</div>
<div>I would like to trap when a tab caption gets keyboard focus ('&lt;FocusIn&gt;') and when the mouse pointer is over a specific tab caption ('&lt;Enter&gt;').</div>
<div>&nbsp;</div>
<div>I can trap mouse clicks on tabs (&lt;Button-1&gt;, &lt;Button-3&gt;), but I can't find a way to determine what tab a user clicked on in the case of a right click.</div>
<div>&nbsp;</div>
<div>Thank you,</div>
<div>Malcolm</div></div></body></html>