How To Find Currently Selected Tile.Notebook Tab?

bcwhite at pobox.com bcwhite at pobox.com
Fri Apr 20 15:51:49 EDT 2007


> > 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.
>
> How about
>
> mynotebook.index.current()

No good:  AttributeError: 'function' object has no attribute 'current'

I tried "mynotebook.index().current()", too, but get a different
error.

-- Brian




More information about the Python-list mailing list