home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 June
/
PCWorld_2005-06_cd.bin
/
software
/
vyzkuste
/
firewally
/
firewally.exe
/
framework-2.3.exe
/
tabset
< prev
next >
Wrap
Text File
|
2003-09-01
|
404b
|
17 lines
# ----------------------------------------------------------------------
# DEMO: tabset in [incr Widgets]
# ----------------------------------------------------------------------
package require Iwidgets 4.0
proc showTab {num} {
puts "selected: [.ts tabcget $num -label]"
}
iwidgets::tabset .ts -command showTab
pack .ts
for {set i 1} {$i <= 5} {incr i} {
.ts add -label "#$i"
}
.ts select 0