entry and
Posted to
tcl
by kostix at Mon May 07 19:22:19 GMT 2007
view raw
pack
[
entry
.e -textvar fname]
bind
.e <Return> action
proc
action {} {
if
{[
string
equal $::fname xterm]} {
exec
xterm &
}
else
{
exec
xterm -e $::fname &
}
}
Recent Posts
tcl by oldlaptop
5 hours ago
tcl by oldlaptop
9 hours ago
tcl by mookie
5 days ago
tcl by mookie
5 days ago
tcl by georgtree
6 days ago
tcl by georgtree
6 days ago
tcl by schelte
21 days ago
tcl by emiliano
29 days ago
tcl by fvogel
29 days ago
tcl by emiliano
29 days ago
Submit
New paste
Documentation
From Jabber