Ticket UUID: | 2895994 | |||
Title: | extend tooltip to the treeview widget | |||
Type: | Patch | Version: | None | |
Submitter: | keithv | Created on: | 2009-11-11 15:19:11 | |
Subsystem: | tklib :: tooltip | Assigned To: | hobbs | |
Priority: | 8 | Severity: | ||
Status: | Deleted | Last Modified: | 2013-07-04 17:58:22 | |
Resolution: | Not Applicable Here | Closed By: | ||
Closed on: | ||||
Description: |
Using the same logic as listbox, extend tklib tooltip to work with ttk::treeview. Don't know how to update the doc, but here's some demo code pack [::ttk::treeview .tree -height 15 -show tree] foreach txt {first second third} { set id [.tree insert {} end -text "$txt item" -open 1] ::tooltip::tooltip .tree -item $id "tooltip for $txt item" for {set i 0} {$i < 3} {incr i} { set child [.tree insert $id end -text "child $i"] ::tooltip::tooltip .tree -item $child "tooltip for child $i" } } | |||
User Comments: |
patthoyts added on 2009-12-03 15:41:01:
Good plan this. keithv added on 2009-11-11 22:19:17: File Added - 350454: tooltip.treeview.patch |
Attachments:
- tooltip.treeview.patch [download] added by keithv on 2009-11-11 22:19:17. [details]