Sujet : A TkPath question De : hgiese (at) *nospam* ratiosoft.com (Helmut Giese) Groupes :comp.lang.tcl Date : 10. Oct 2024, 20:17:51 Autres entêtes Organisation : ratiosoft Message-ID :<lo9ggjl46mi4lunqaotbdihe2mg8o99vm0@4ax.com> User-Agent : Forte Free Agent 1.93/32.576 English (American)
Hello out there, I very much like TkPath and am trying to implement some control widgets based on it. But I stumbled upon a problem: It seems that there is no TkPath equivalent to the 'arc' command of the regular Tk canvas. Below is a simplified example from the TkLib's 'controlwidgets' package: ---- package require Tk package require tkpath
proc mkGUI {parent} { set dialcolor lightgreen set width [$c cget -width] set xcentre [expr {$width*0.5}] set ycentre [expr {$width*1.4}] set t 1.15