From: SourceForge.net <no...@so...> - 2013-02-02 06:08:02
|
Bugs item #3603077, was opened at 2013-02-01 22:07 Message generated for change (Tracker Item Submitted) made by talvo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3603077&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 88. Themed Tk Group: current: 8.6.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Talvo (talvo) Assigned to: Joe English (jenglish) Summary: ttk::treeview doesn't update display when tags are changed Initial Comment: On Windows, a ttk::treeview's display isn't updated when tags are added are removed - you have to move the cursor into (or out of) the treeview for the display to update. Example: pack [ttk::treeview .t] foreach x [list Foo Bar Baz] { .t insert {} end -id $x -text $x } .t tag configure tagged -foreground yellow -background red .t tag add tagged Foo .t tag has tagged Foo The final command returns 1 as expected, but nothing happens until you move the mouse over the treeview, when suddenly the colors change. Calling [update] doesn't help. Setting an option for the widget does cause it to be automatically redrawn, so in my case I'm doing a no-op like .t configure -cursor [.t cget -cursor] immediately after changing tags, as a temporary workaround. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=3603077&group_id=12997 |