| Ticket UUID: | fa6fbae045ac70b86b7d950dad6ff977e4612c18 | |||
| Title: | widget::dateentry does not accept array as textvariable | |||
| Type: | Bug | Version: | 0.98 | |
| Submitter: | lizhou | Created on: | 2025-02-16 13:20:19 | |
| Subsystem: | tklib :: widget :: dateentry | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Severe | |
| Status: | Open | Last Modified: | 2026-11-16 00:07:23 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
It is convient to use an array as a textvariable with GUI widget. But if you use an array as textvariable ,It does not work as expected and gives an error saying “no such element in array”。 It is expected for the widget constructor code to initialize the array element, even if the element is emeply. | |||
| User Comments: |
serhiy.storchaka added on 2026-11-16 00:07:23:
Proposed fix in branch dateentry-textvariable. As suggested, the -textvariable is now set when the widget is created: to the date it holds if it is valid, otherwise to the current date. The same happens when -textvariable is configured later. Like for the standard widgets, a variable name which is not fully qualified now refers to a global variable. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki