aboutsummaryrefslogtreecommitdiff
path: root/examples/properties.tcl
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2011-11-13 22:52:33 +0000
committermescalinum <mescalinum@users.sourceforge.net>2011-11-13 22:52:33 +0000
commitc80ad601728139c16c4903f5ed08680f7e5f203c (patch)
treeab8d9484489355b9877eecf05e859a02d8bb7e14 /examples/properties.tcl
parent8dd16881e82ee2b655049367968ebd8d28d1d9cc (diff)
0.3.0 - typemaps support complete
svn path=/trunk/externals/loaders/tclpd/; revision=15738
Diffstat (limited to 'examples/properties.tcl')
-rw-r--r--examples/properties.tcl8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/properties.tcl b/examples/properties.tcl
index dc199de..cdbfc1d 100644
--- a/examples/properties.tcl
+++ b/examples/properties.tcl
@@ -8,9 +8,10 @@ proc propertieswindow {gfxstub_id {options {}} {title {}}} {
set win $gfxstub_id
set ::id($win.p) $gfxstub_id
set ::optkeys($win.p) [list]
+ set options [string map {@ $} $options]
foreach {k v} $options {
if {$v eq "empty"} {set v {}}
- set v [string map {\\$ $} $v]
+ #set v [string map {\\$ $} $v]
set ::config($win.p:$k) $v
lappend ::optkeys($win.p) $k
}
@@ -416,8 +417,9 @@ proc propertiespanel_apply {w} {
if {$v == ""} {set v "empty"}
lappend newconf $key $v
}
- set newconf [string map {$ \\$} $newconf]
- pdsend "$::id($w) config $newconf"
+ #set newconf [string map {$ \\$} $newconf]
+ set newconf [string map {$ @} $newconf]
+ pdsend "$::id($w) config2 $newconf"
}
proc propertiespanel_close {w} {