Tksheet

Latest version: v7.3.0

Safety actively analyzes 688323 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 16

7.3.0

Changed:
- `"end_edit_cell"` events for single cell edits e.g. for cell text editor, dropdown box and checkbox edits now have the value **prior** to the edit in the event under keys `cells.table`
- Variables default values in `Sheet()` init have changed from `"inf"` -> `float("inf")`:
- `max_column_width`
- `max_row_height`
- `max_index_width`
- `max_header_height`
- Moved variables from `Sheet.MT` -> `Sheet.ops`:
- `max_column_width`
- `max_row_height`
- `max_index_width`
- `max_header_height`

Fixed:
- Lag on resize index width or header height

Added:
- Ability to set minimum column width: `min_column_width` in `Sheet()` init and `set_options()`

7.2.23

Changed:
- Edit validation will now also be triggered for undo and redo [256](https://github.com/ragardner/tksheet/issues/256)
- Cell text editors and dropdowns have their own shared background and foreground colors [255](https://github.com/ragardner/tksheet/issues/255)

Fixed:
- `7.2.22` regression when using cell text editors and normal dropdown boxes

7.2.22

Added:
- Autocomplete for `"normal"` state dropdown boxes
- Python `3.13` support badge
- `"disabled"` state for dropdown boxes
- docstrings for enable/disable bindings and extra bindings functions to help with arguments

Fixed:
- Alternate row colors no longer blend with clear single cell selection box
- Highlights and alternate row colors not blending with `show_selected_cells_border=False`
- Tab key with `show_selected_cells_border=False` not updating selected colors when using highlights
- Treeview `selection_set()`/`selection_add()` now only use iids that are in the tree, will not generate an error if an iid is missing
- Error on close text editor

Improved:
- Code: minor type hinting
- Code: variable name clarity

7.2.21

Fixed:
- Storing functions in event data using `pickle` causes error [253](https://github.com/ragardner/tksheet/issues/253)

Added:
- Basic alternate row colors option

7.2.20

Changed:
- `float_formatter()` by default will no longer accept inputs that end in `"%"`
- `percentage_formatter()` default `format_function` renamed: `to_float()` -> `to_percentage()`
- Events no longer emitted for cut, paste or delete if the sheet has not been edited, for example due to read only cells [249](https://github.com/ragardner/tksheet/issues/249)
- `__init__()` calls now use `super()`

Added:
- Options for percentage formatter:
- `format_function` option `to_percentage()`
- `format_function` option `alt_to_percentage()`
- `to_str_function` option `alt_percentage_to_str()`

Improved:
- Documentation for data formatting

7.2.19

Fixed:
- Error when pasting into empty sheet
- Potential error if using percentage formatter with more than just `int`, `float` and wrong type hint [250](https://github.com/ragardner/tksheet/issues/250)
- Only show the selection box outline while the mouse is dragged if the control key is down
- `index` and `header` `Span` parameters were not working with function `readonly()`

Added:
- Shift + arrowkey bindings for expanding/contracting a selection box
- Functions for getting cell properties (options) [249](https://github.com/ragardner/tksheet/issues/249)
- Ability to edit index in treeview mode, if the binding is enabled

Improved:
- Very slight performance boost to treeview insert, inserting rows when rows are hidden

Page 1 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.