tabset: invoke not working
Brought to you by:
ghowlett
Using blt 2.4z with ActiveTcl 2.4.1 on Linux.
Test with:
::blt::tabset .ts
button .ts.b0 -text "PUSH ME TODAY"
button .ts.b1 -text "PUSH ME YESTERDAY"
.ts insert 0 buttons
.ts insert 1 counters
.ts tab configure buttons -window .ts.b0
.ts tab configure counters -window .ts.b1
pack .ts
.ts invoke counters
fails with error:
can't find tab "counters" in ".ts"
whereas
.ts invoke 1
gives no error, but does not do anything.
(This is low priority for me)
Logged In: YES
user_id=611156
I have now learned of the (undocumented!) "select" tabset
operation, which does what it seemed "invoke" was supposed
to do. So that problem is probably a documentation error,
not a bug.
Furthermore, I don't know why I thought the tab name was a
valid form of <index>, but the documentaion does not
indicate that it would be (although that would be a nice
feature).
So no bugs, except the sad state of the documentation. I'd
offer to help there, but how could I discover what *should*
be said?