Changeset 69 for trunk/gui/scripts/controls.tcl
- Timestamp:
- Sep 26, 2005 9:01:57 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/controls.tcl
r52 r69 131 131 button $w -text $label -command [list $service run] 132 132 } 133 separator { 134 # no widget to create 135 set _name2info($name-value) "--" 136 } 133 137 default { 134 138 error "don't know how to add control type \"$type\"" … … 136 140 } 137 141 138 if {$type != "control" } {142 if {$type != "control" && $type != "separator"} { 139 143 $_owner widgetfor $path $w 140 144 … … 389 393 } 390 394 grid columnconfigure $frame 1 -weight 1 391 } 392 395 } elseif {$wv == "--"} { 396 grid rowconfigure $frame $row -minsize 10 397 } 393 398 394 399 incr row
Note: See TracChangeset
for help on using the changeset viewer.