How To Find Currently Selected Tile.Notebook Tab?

Kevin Walzer kw at codebykevin.com
Fri Apr 20 04:56:32 CEST 2007


bcwhite at pobox.com wrote:
> How can I determine what tab is currently selected in a Tile.Notebook
> widget?
> 
> The best suggestion I've been able to find via Google is
> "mynotebook.index('current')", but that gets an exception from Tcl.
> 
> Any ideas?
> 
> -- Brian
> 
How about

mynotebook.index.current()

?

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list