Closed zalpet closed 7 months ago
Thanks very much for your report, I'm sorry it stopped working with newer versions
It should now be fixed from versions 7.1.2
+, changelog:
"selected"
and function get_currently_selected()
values have changed:
type_
attribute has been changed from either "cell"
/"row"
/"column"
to "cells"
/"rows"
/"columns"
get_currently_selected
for more informationTextEditor_
to TextEditorTkText
TextEditor
attribute textedit
to tktext
namedtuple
CurrentlySelectedClass
to Selected
Sheet
functions dealing with selection boxes should behave the sameSheet()
init parametersauto_resize_row_index
now has a different default value for its old behaviour:
auto_resize_row_index: bool | Literal["empty"] = "empty"
"empty"
it will only automatically resize if the row index is emptyTrue
it will always automatically resizeFalse
it will never automatically resizehide_rows()
/hide_columns()
functions now endeavour to save the row heights/column widths so that they may be reinserted when using new functions show_rows()
/show_columns()
dict
s no longer have the keys "window"
and "canvas_id"
Span objects now have an additional two functions which link to the Sheet
functions of the same names:
span.tag()
span.untag()
set_text_editor_value()
parameters r
and c
show_rows()
, show_columns()
which are designed to work alongside their hide_rows()
/hide_columns()
counterpartsset_index_text_editor_value()
and set_header_text_editor_value()
xview()
, yview()
, xview_moveto()
, yview_moveto()
data_indexes
bool
parameters to functions: hide_rows
, hide_columns
, default value is False
meaning there is no behavior changecreate_selections
bool
parameters to functions: insert_rows
, insert_columns
default value is True
meaning there is no behavior changesheet.py
under # Treeview Mode)Span
s"<<SheetSelect>>"
which encompasses all select eventsmapping_move_rows()
errorinsert_rows
while also using an int
as the row index to display a specific column in the index
Hello! Thank you for the good tksheet application! Unfortunately, in the latest version it is not possible to move up the table using the "up" key with the up arrow on the keyboard. I ask you to correct this. Thank you very much in advance!