Ignore:
Timestamp:
Aug 26, 2008 4:47:47 AM (16 years ago)
Author:
dkearney
Message:

enabling user to switch the text in the "Simulate" Button for cceHUB by using the tool.action.label tag

adding examples/lang directory where we can put example programs for each language showing off usage of bindings. most of the code is already in the wiki, but this will allow the user to easily run the example and see the exact text/steps needed to use a binding function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/analyzer.tcl

    r1077 r1124  
    9797    pack $itk_interior.simol.simbg -expand yes -fill both
    9898
     99    set simtxt [$tool xml get tool.action.label]
     100    if {"" == $simtxt} {
     101        set simtxt "Simulate"
     102    }
    99103    itk_component add simulate {
    100         button $itk_interior.simol.simbg.simulate -text "Simulate" \
     104        button $itk_interior.simol.simbg.simulate -text $simtxt \
    101105            -command [itcl::code $this simulate]
    102106    }
Note: See TracChangeset for help on using the changeset viewer.