Tksheet

Latest version: v7.1.9

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

Scan your dependencies

Page 1 of 10

7.1.9

Fixed:
- Potential error caused by moving rows/columns where:
- There exists a header but data is empty
- Data and index/header are all empty but displayed row/column lines exist

Changed:
- Function `equalize_data_row_lengths` parameter `include_header` now `True` by default
- Right clicking with right click select enabled in empty space in the table will now deselect all
- Right clicking on a selected area in the main table will no longer select the cell under the pointer if popup menus are not enabled. Use mouse button 1 to select a cell within a selected area

Added:
- Functions:
- `has_focus()`
- `ctrl_boxes`
- `canvas_boxes`
- `full_move_columns_idxs()`
- `full_move_rows_idxs()`

7.1.8

Fixed:
- Issue with setting sheet xview/yview immediately after initialization
- Visual selection box issue with boxes with 0 length or width

Addressed:
- Issue [220](https://github.com/ragardner/tksheet/issues/220)

Added:
- Functions:
- `boxes` setter for use with `Sheet.get_all_selection_boxes_with_types()` or `Sheet.boxes` property
- `selected` setter
- `all_rows` property to get `all_rows_displayed` `bool`
- `all_columns` property to get `all_columns_displayed` `bool`
- `all_rows` setter to set `all_rows_displayed` `bool`
- `all_columns` setter to set `all_columns_displayed` `bool`
- `displayed_rows` setter uses function `Sheet.display_rows()`
- `displayed_columns` setter uses function `Sheet.display_columns()`

Removed:
- All parameters from function `Sheet.after_redraw()`
- Warnings about version changes from `Sheet()` initialization
- `within_range` parameters from internal `get_selected_cells`/`get_selected_rows`/`get_selected_columns` functions

7.1.7

Fixed:
- Using a cell text editor followed by setting a dropdown box with a text editor would set the previously open cell to the dropdown value

Changed:
- Selection boxes now have rounded corners
- Function `get_checkbox_points` renamed `rounded_box_coords`

Added:
- `rounded_boxes` Sheet option
- WIP `ListBox` class

7.1.6

Fixed:
- Undo error

Added:
- Function `deselect_any()` for non specific selection box type deselections

7.1.5

Fixed:
- `set_all_cell_sizes_to_text()` not working correctly if table font is different to index font, resulting in dropdown box values not showing properly
- Dropdown box colors and options not being updated after sheet color change
- Text editor alignments not working

Improved:
- Dropdown box alignment now uses cell alignment
- Minor changes to arrow key cell selection

Changed:
- When using `show_selected_cells_border=False` the colors for `table_selected_box_cells_fg`/`table_selected_box_rows_fg`/`table_selected_box_columns_fg` will be used for the currently selected cells background

7.1.4

Fixed:
- Fixed shift mouse click select rows/columns selecting cells instead of rows/columns
- Fixed `"<<SheetSelect>>"` event not being emitted after row/column select events

Added:
- Add new parameters to `cell_selected()`, `row_selected()`, `column_selected()`, no default behaviour change
- Functions:
- `event_widget_is_sheet()`
- `property` function `boxes`, the same as `get_all_selection_boxes()`
- `drow()`, `dcol()` functions the same as `displayed_row_to_data()`/`displayed_column_to_data()`

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.