Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Updated 552 |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2a5c9376de55e889a811d5a4fb476beb |
User & Date: | pspjuth 2019-10-22 22:00:55.187 |
Context
2019-11-07
| ||
23:17 | New TIP: ellipses for Tk check-in: c368e0d5ea user: Donal tags: trunk | |
2019-10-22
| ||
22:00 | Updated 552 check-in: 2a5c9376de user: pspjuth tags: trunk | |
2019-09-19
| ||
21:06 | Added TIP 552 - extended treeview check-in: de930bf6ec user: pspjuth tags: trunk | |
Changes
Changes to tip/552.md.
︙ | ︙ | |||
12 13 14 15 16 17 18 | # Abstract This TIP proposes a set of new features for the Ttk treeview widget. # Rationale | > > | > > > | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | # Abstract This TIP proposes a set of new features for the Ttk treeview widget. # Rationale Each time I have tried to use the Treeview widget it fell short of some feature or another and I had to resort to other means. This aims to fill in the most common missing pieces. # Specification The following features are added to the treeview widget. ## Locked horizontal scrolling Adds the ability to lock the first column(s) from horizontal scrolling. A new option **-titlecolumns** *n* is added, requesting columns to be locked. The tree column counts, even if **-show tree** is not specified. Thus for value N of this option, column #N is the first one that is scrollable. ## Cell selection Adds the ability to select individual cells as well as full rows. Cell selection is independent of item selection. Cells are identified with a two element list with item id and column id. A new subcommand **cellselection** is added, mirroring the present **selection**. In addition the **cellselection set** and **cellselection add** commands get a version for selecting a rectangular range. A new option **-selecttype** *type* is added to direct default bindings to use either item selection or cell selection. The **identify** subcommand is updated with the **cell** option. Default bindings are updated to use these features. |
︙ | ︙ | |||
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | ## Column separators The **-show** option is extended with the value `columnseparators` to display a separator between columns. Built in themes are updated to define the separators. # Implementation Started on branch [`pspjuth-treeview`](https://core.tcl-lang.org/tk/timeline?r=pspjuth-treeview) # Copyright This document has been placed in the public domain. | > > > > > > | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | ## Column separators The **-show** option is extended with the value `columnseparators` to display a separator between columns. Built in themes are updated to define the separators. ## Image anchor for tree A new item option **-imageanchor** *anchor* is added. This controls the placement of the image relative to the text in an item's tree column. Default is "w". # Implementation Started on branch [`pspjuth-treeview`](https://core.tcl-lang.org/tk/timeline?r=pspjuth-treeview) # Copyright This document has been placed in the public domain. |