How To Find Currently Selected Tile.Notebook Tab?
kw at codebykevin.com
Sat Apr 21 17:45:34 CEST 2007
bcwhite at pobox.com wrote:
>>> How can I determine what tab is currently selected in a Tile.Notebook
>>> The best suggestion I've been able to find via Google is
>>> "mynotebook.index('current')", but that gets an exception from Tcl.
>> How about
> No good: AttributeError: 'function' object has no attribute 'current'
> I tried "mynotebook.index().current()", too, but get a different
> -- Brian
Not sure what the problem is then--perhaps that function hasn't been
mapped into Tkinter. I don't use that feature myself.
Code by Kevin
More information about the Python-list