Releases: ragardner/tksheet
Releases · ragardner/tksheet
5.6.5
5.6.4
Version 5.6.4
Fixed:
set_row_heights()
/set_column_widths()
failing to set if iterable was emptydelete_rows()
/delete_columns()
failing to delete row heights, column widths if arg is empty- Edges of grid lines appearing when not meant to
Changed:
- Add
redraw
option forchange_theme()
5.6.3
Version 5.6.3
Fixed:
- Dropdown boxes in main table not opening in certain circumstances
- Scrollbars not having correct column/rowspan
- Error when moving header height
- Resizing arrows still showing up when hiding header/index if height/width resizing enabled
Added:
header
startup argument, same asheaders
Changed:
- Increase default maximum undos from 20 to 30
- Removed dropdown box border, to get them back use
show_dropdown_borders = True
on startup or withset_options()
- Removed unnecessary variables and tidied
__init__
code
5.6.2
Version 5.6.2
Fixed:
- #154
delete_column()
not working with hidden columnsinsert_column()
/insert_columns()
not working correctly with hidden columns
Added:
delete_columns()
,delete_rows()
Changed:
delete_column()
/delete_row()
now usedelete_columns()
/delete_rows()
internallyinsert_column()
now usesinsert_columns()
internally
5.6.1
5.6.0
Version 5.6.0
Fixed:
- Issues and possible errors with dropdowns/checkboxes/cell edits
delete_dropdown()
/delete_checkbox()
issues
Changed:
- Deprecated external functions
create_text_editor()
/get_text_editor_value()
/bind_text_editor_set()
as they no longer worked both externally and internally, useopen_cell()
instead - Renamed internal function
get_text_editor_value()
toclose_text_editor()
Improved:
- Slightly boost performance if there are many cells onscreen and gridlines are showing
- You can now use the scroll wheel in the header to vertically scroll if there are multiple lines in the column headers
- Improvements to text editor
- Text now draws slightly closer to cell edges in certain scenarios
- Improved visibility of dropdown box against sheet background
- Improved dropdown window height
- black theme selected cells border color
- light green theme selected cells background color
5.5.1
Version 5.5.1
Fixed:
display_columns()
no longer redraws ifdeselect_all
isTrue
even whenredraw
isFalse
extra_bindings()
cell editors carrying out cell edits even if validation function returnsNone
- Index and header alignments wrongly associated with column and row alignments if
align_header
/align_index
wereFalse
- Undo drag and drop wrong position if columns move back to higher index
- Error when shift b1 press in headers/index while using extra bindings
Changed:
- Internal variable name
data_ref
todata
get_currently_selected()
andcurrently_selected()
see documentation for more information- The way
extra_bindings()
+begin_edit_cell
works, now ifNone
is returned then the cell editor will not be opened - Paste repeats when selection box is larger than pasted items and is a multiple of pasted box
move_row()
/move_column()
now internally usemove_rows()
/move_columns()
black
theme text to be a lot brighter
Added:
- Spacebar to edit cell keys
- Function
open_cell()
which uses currently selected box and mouse event - Function
data
see the documentation for more info - Functions
get_cell_alignments()
,get_row_alignments()
,get_column_alignments()
,reset_all_options()
,delete_out_of_bounds_options()
- Functions
move_columns()
,move_rows()
5.5.0
Version 5.5.0
- Deprecate functions
display_subset_of_columns()
,displayed_columns()
- Change
get_text_editor_value()
function argumentdestroy_tup
toeditor_info
- Change
display_columns()
function argumentindexes
tocolumns
- Change
display_columns()
function argumentenable
toall_columns_displayed
- Change some internal variable names
- Remove all calls to
update()
fromtksheet
- Fix row index
"e"
text alignment bug - Fix checkbox text not showing in main table when not using west alignment
- Fix
total_rows()
bug - Fix dropdown arrow being asymmetrical with different font sizes
- Fix incorrect default headers while using hidden columns
- Fix issue with
get_sheet_data()
if including index and header not putting a corner cell in the top left - Modify redrawing code, slightly improve redrawing efficiency in some scenarios
- Add dropdown boxes, check boxes and cell editing to index
- Add options
edit_cell_validation
which is an option forextra_bindings
, see the documentation for more info - Add function
yield_sheet_rows()
which includes default index and header values if using them - Add function
hide_columns()
which allows input of columns to hide, instead of columns to display - Add functions related to index editing, checkboxes and dropdown boxes
- Add default argument
show_default_index_for_empty
- Add
Edit header
option to in-built right click menu if both are enabled - Add
Edit index
option to in-built right click menu if both are enabled - Add
Edit cell
option to in-built right click menu if both are enabled - Documentation updates