setting

$canvaseditor setting
displays settings
$canvaseditor setting width
displays width
$canvaseditor setting width 650
changes width to 650

obj method canvaseditor setting args {
  if {[llength $args] == 0} then {
    my settings
  } elseif {[llength $args] == 1} then {
    dict get [my settings] {*}$args
  } else {
    my settings [dict merge [my settings] $args]
  }
}

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z