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 mookie
6 days ago
tcl by cgm
8 days ago
tcl by egavilan
14 days ago
tcl by smlckz
14 days ago
tcl by Guest86
19 days ago
tcl by mookie
21 days ago
tcl by greycat
26 days ago
tcl by mookie
34 days ago
tcl by mookie
34 days ago
tcl by mookie
39 days ago
Submit
New paste
Documentation
From Jabber