Ignore:
Timestamp:
Mar 27, 2011 3:13:21 PM (13 years ago)
Author:
mmc
Message:

Added support for -tooltip options on all attributes, and added descriptions
of attributes to all objects. This gives the user pop-up help inside the
builder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lang/tcl/scripts/types/string.tcl

    r2154 r2157  
    2020            value -lines 1
    2121            value -validate ""
     22            value -tooltip ""
    2223        }
    2324
     
    2728            text $win.scrl.text -width 10 -height $params(-lines) -wrap word
    2829            $win.scrl contents $win.scrl.text
     30            Rappture::Tooltip::for $win.scrl.text $params(-tooltip)
    2931        } else {
    3032            entry $win.str
    3133            pack $win.str -fill x
     34            Rappture::Tooltip::for $win.str $params(-tooltip)
    3235        }
    3336        set _win $win
Note: See TracChangeset for help on using the changeset viewer.