Selected line objects shall blink smoothly. While blinking, minimum line width is 3.
obj method line blink {{onoff on}} {
set tag line$self
if {$onoff} then {
$self canvas addtag blink withtag $tag
$self canvas itemconfigure $tag -width [max 3 [$self cget -width]]
} else {
$self canvas dtag $tag blink
$self updateAtts
}
}
© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z