Tk::BWidget::NoteBook: retrieve current page

Yet Another Tk Question.

Is there some way to retreive the current tab from a BWidget::NoteBook class?

Thanks,

···

--
- nornagon

Message-ID: <14d6153305052403213f928b5e@mail.gmail.com>

Is there some way to retreive the current tab from a BWidget::NoteBook class?

Probably you can get the information by calling
Tk::BWidget::NoteBook#raise with no argument.

···

From: nornagon <nornagon@gmail.com>
Subject: Tk::BWidget::notebook: retrieve current page
Date: Tue, 24 May 2005 19:21:18 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)

Message-ID: <20050524.231639.74733613.nagai@ai.kyutech.ac.jp>

Probably you can get the information by calling
Tk::BWidget::NoteBook#raise with no argument.

I'm very sorry but I forgot method conflict between this and
TkWindow#raise.
I think that the name should be changed.
Of course, it losts compatibility between previous versions
of BWdiget support library.
I want to ask Ruby/Tk users.
Do you oppose the change?

···

From: Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
Subject: Re: Tk::BWidget::notebook: retrieve current page
Date: Tue, 24 May 2005 23:16:44 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)

Message-ID: <20050525.102805.74728618.nagai@ai.kyutech.ac.jp>

I'm very sorry but I forgot method conflict between this and
TkWindow#raise.
I think that the name should be changed.
Of course, it losts compatibility between previous versions
of BWdiget support library.

I decide to keep compatibility.
Instead of changing the names, add TkWindow#lower_window/raise_window
and Tk#lower_window/raise_window to call Tcl/Tk's lower/raise command.

···

From: Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
Subject: should change method name "Tk::BWidget::NoteBook#raise"? (Re: Tk::BWidget::notebook: retrieve current page)
Date: Wed, 25 May 2005 10:28:10 +0900
--
Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)