Tk::BWidget::NoteBook: retrieve current page

N

nornagon

Yet Another Tk Question.

Is there some way to retreive the current tab from a BWidget::NoteBook clas=
s?

Thanks,
--=20
- nornagon
 
H

Hidetoshi NAGAI

From: nornagon <[email protected]>
Subject: Tk::BWidget::NoteBook: retrieve current page
Date: Tue, 24 May 2005 19:21:18 +0900
Message-ID: said:
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.
 
H

Hidetoshi NAGAI

From: Hidetoshi NAGAI <[email protected]>
Subject: Re: Tk::BWidget::NoteBook: retrieve current page
Date: Tue, 24 May 2005 23:16:44 +0900
Message-ID: said:
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?
 
H

Hidetoshi NAGAI

From: Hidetoshi NAGAI <[email protected]>
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
Message-ID: said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,477
Latest member
ColumbusMa

Latest Threads

Top