obj method canvaseditor tagCurrentToObject {} {
  foreach item [$self canvas find withtag current] {
    foreach tag [$self canvas gettags $item] {
      if {[regexp (?:line|fill)(::.*) $tag - obj]} then {
        return [$obj topgroup]
      }
    }
  }
}
  
© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z