Releases: ragardner/tksheet
Releases · ragardner/tksheet
7.2.23
Version 7.2.23
Changed:
- Edit validation will now also be triggered for undo and redo 256
- Cell text editors and dropdowns have their own shared background and foreground colors 255
Fixed:
7.2.22
regression when using cell text editors and normal dropdown boxes7.2.22
regression"normal"
dropdown box withmodified_function
not being triggered upon non-key release events such as by right clicking in the text editor and pasting- Select events will no longer be emitted upon b1 release
Added:
- Options for changing table, index and header cell editor bg, fg 255
- Added
Sheet()
parameters:table_editor_bg
table_editor_fg
table_editor_select_bg
table_editor_select_fg
index_editor_bg
index_editor_fg
index_editor_select_bg
index_editor_select_fg
header_editor_bg
header_editor_fg
header_editor_select_bg
header_editor_select_fg
- Added
7.2.22
Version 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
7.2.20
Version 7.2.20
Changed:
float_formatter()
by default will no longer accept inputs that end in"%"
percentage_formatter()
defaultformat_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
__init__()
calls now usesuper()
Added:
- Options for percentage formatter:
format_function
optionto_percentage()
format_function
optionalt_to_percentage()
to_str_function
optionalt_percentage_to_str()
Improved:
- Documentation for data formatting
7.2.19
Version 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 - Only show the selection box outline while the mouse is dragged if the control key is down
index
andheader
Span
parameters were not working with functionreadonly()
Added:
- Shift + arrowkey bindings for expanding/contracting a selection box
- Functions for getting cell properties (options) 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
7.2.18
Version 7.2.18
Fixed:
- Inserting rows/columns with hidden rows/columns sometimes resulted in incorrect rows/columns being displayed
- Treeview function
insert()
when using parameterindex
sometimes resulted in treeview items being displayed in the wrong locations
Changed:
- Using function
set_currently_selected()
or any function/setter which does the same internally will now trigger a select event like creating selection boxes does - iids in Treeview mode are now case sensitive
- Treeview function
tree_build()
when parametersafety
isFalse
will no longer check for missing ids in the iid column - Treeview function
get_children()
now gets item ids from the row index which provides them in the same order as in the treeview - Add parameter
run_binding
to treeview functionsselection_add()
,selection_set()
- Slight color change for top left rectangle bars
Added:
- Initialization parameters
default_header
anddefault_row_index
can now optionally be set toNone
to not display anything in empty header cells / row index cells - Parameters
lower
andinclude_text_column
to treeview functiontree_build()
- Treeview function
bulk_insert()
- Treeview function
get_nodes()
behaves exactly the same asget_children()
except it retrieves item ids from the tree nodesdict
not the row index. - Treeview function
descendants()
which returns a generator - Treeview property
tree_selected