Overview
| Artifact ID: | 49d60472df61e3abcd207e88928d4e53e1d6b007 |
|---|---|
| Ticket: | 2883857fffffffffffffffffffffffffffffffff
[my varname] not working with array |
| User & Date: | beric on 2009-10-22 11:47:44 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
In order to use object member variable in widget, we need to use [my varname] to get fully qualified variable name. But this method does not work with array index: ttk::entry $path.entry -textvariable [my varname myVar(index)] Even worth, [my varname myVar(index)] does not return an error, but an empty string. Also, the only working alternative is ugly: ttk::entry $path.entry -textvariable [my varname myVar](index) I would like to have [my varname myVar(index)] to work, or at least [my varname varName ?index?] - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "beric"
- subsystem changed to: "35. TclOO Package"
- title changed to: "[my varname] not working with array"
- type changed to: "Bug"