Ignore:
Timestamp:
Feb 2, 2011 4:51:29 PM (10 years ago)
Author:
mmc
Message:

Part 1 of a major reorganization of content. Moving "instant" to "builder"
and setting up "builder" more like the "gui" part as a package. Moving the
Rappture::object stuff from the builder into the main installation, so it
can be shared by the tester as well. Moving "driver" into gui/scripts
where it belongs. Creating a new "launcher.tcl" script that decides
which of the three parts to launch based on command line options. Still
need to sort out the Makefiles to get this all right...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tester/testtree.tcl

    r2077 r2080  
    225225                Pass    { set data(result) "@[Rappture::icon pass16]" }
    226226                Fail    { set data(result) "@[Rappture::icon fail16]" }
    227                 Waiting { set data(result) "@[Rappture::icon wait]" }
     227                Waiting { set data(result) "@[Rappture::icon wait16]" }
    228228                Running { set data(result) "@[spinner use]" }
    229229                default { set data(result) "" }
     
    231231puts "ICON: $data(result)"
    232232            $itk_component(treeview) entry configure $n -data [array get data]
     233
     234            # if the node that's changed is selected, invoke the
     235            # -selectcommand code so the GUI will react to the new state
     236            if {[$itk_component(treeview) selection includes $n]} {
     237                set cmd [$itk_component(treeview) cget -selectcommand]
     238                if {[string length $cmd] > 0} {
     239                    uplevel #0 $cmd
     240                }
     241            }
    233242        }
    234243    }
Note: See TracChangeset for help on using the changeset viewer.