|
From: Michael K. <mi...@mu...> - 2006-01-25 07:25:37
|
On Tue, 24 Jan 2006, Joe English wrote: >> displayed) or the tab text (which will break because the application >> is multilingual). I'm assuming that I could use the child pane >> window, > > Yes, the child window names will work as tab identifiers. > >> except I don't see any way of retrieving it. > > This is a Frequently Asked Question, with a not very satisfactory > answer :-(. The canonical way to get the name of the currently-selected > tab is [lindex [$nb tabs] [$nb index current]]. > > There really ought to be a more straightforward way to access this. > [$nb current] maybe? Seems like the inverse of index would be reasonable. i.e., [$nb index $window] vs. [$nb window $index] Where either would take "current" as an argument, as index does now. -- Michael Kirkham www.muonics.com |