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 custom field type support to Form
[tcl-tlc.git]
/
scripts
/
dnd_token.tcl
blob
4b7a62ebf002b2df52deacb8bc4f04f504556bbe
1
proc
tlc
::
dnd_token
{
pathName args
} {
2
if
{
$
::
tcl_platform
(
platform
) ==
"windows"
} {
3
set
top
[
toplevel
$pathName
.token
]
4
wm
withdraw
$top
5
}
else
{
6
return
[
uplevel
blt
::
dnd
token window
$pathName
\
7
-activebackground
red
\
8
-borderwidth
1
\
9
-relief
raised
\
10
-activerelief
raised
\
11
-anchor
s
\
12
$args
]
13
}
14
}
15
16