![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: BWidget NoteBook: Retrieve current page?
From: Jos Decoster <decoster@raphael.retarget.com>
Date: Tue May 24 2005 - 13:24:23 CEST
Hi,
You could add a proc like this to your application:
NoteBook::use
proc NoteBook::selected_page { path } {
Example:
set nb [NoteBook .nb]
$nb insert end tab_one -text one
# Later on in your application, query selected a page
set pg [$nb selected_page]
Kind regards,
Jos.
|