repo.or.cz
/
tcl-tlc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added onselect handler
[tcl-tlc.git]
/
tests
/
toolbar.itk
blob
fcb4f96b1f943c2d5b8649a418a984fff5ce60e9
1
#!/usr/bin/tclsh
2
3
source "boilerplate.tcl"
4
5
Tools .toolbar -tooltipdelay 700
6
7
.toolbar add "Foo" [code foo]
8
.toolbar separator
9
.toolbar add "Bar" [code bar]
10
.toolbar add "Baz" [code baz]
11
.toolbar add "Close" [code exit] right
12
13
.toolbar set_tips \
14
"Bar" "This is a bar" \
15
"Baz" "Some baz?"
16
17
pack .toolbar