|
From: Kevin W. <sw...@wo...> - 2004-09-18 03:50:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm having difficulty with the progress bar widget. I want to display the progress bar in a continuing loop to signify a process of indefinite length--the "barberpole" widget in Interface Builder serves this function, but since Tile doesn't have an equivalent version, looping the regular progress bar during the process (so that it repeats from 0-100 until the process terminates) is my workaround. The problem I'm having is that the only place I've seen the progress bar used is in the Tile demo, and the way it's presented there--as begin attached/driven by the "scale" widget--isn't how I want to do it. Here's the code in the tile demo: set s [tframe $l.scales] tscale $s.scale -orient horizontal -from 0 -to 100 -variable ::V(SCALE) tscale $s.vscale -orient vertical -from -25 -to 25 -variable ::V(VSCALE) tprogress $s.progress -orient horizontal -from 0 -to 100 tprogress $s.vprogress -orient vertical -from -25 -to 25 $s.scale configure -command [list $s.progress set] $s.vscale configure -command [list $s.vprogress set] Can anyone suggest a way to tweak this example so that the tprogress widget isn't driven by the tscale widget? [list $.progress set] Thanks, Kevin - -- Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:sw...@wo... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBS7BsF6m9qPmThLQRAgekAJ0TyEN5zDwi/OBHNH75uvBvW5/mcwCfQD1L cXrQiGlFTv81uOc51G9zRE0= =trV8 -----END PGP SIGNATURE----- |