tksheet 7.5.9__tar.gz → 7.5.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tksheet-7.5.9/tksheet.egg-info → tksheet-7.5.10}/PKG-INFO +1 -1
- {tksheet-7.5.9 → tksheet-7.5.10}/pyproject.toml +1 -1
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/__init__.py +1 -1
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/column_headers.py +7 -6
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/main_table.py +12 -11
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/row_index.py +7 -6
- {tksheet-7.5.9 → tksheet-7.5.10/tksheet.egg-info}/PKG-INFO +1 -1
- {tksheet-7.5.9 → tksheet-7.5.10}/LICENSE.txt +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/README.md +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/setup.cfg +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/colors.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/constants.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/find_window.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/formatters.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/functions.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/menus.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/other_classes.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/sheet.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/sheet_options.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/sorting.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/text_editor.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/themes.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/tksheet_types.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/tooltip.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet/top_left_rectangle.py +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet.egg-info/SOURCES.txt +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet.egg-info/dependency_links.txt +0 -0
- {tksheet-7.5.9 → tksheet-7.5.10}/tksheet.egg-info/top_level.txt +0 -0
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
6
6
|
name = "tksheet"
|
7
7
|
description = "Tkinter table / sheet and treeview widget"
|
8
8
|
readme = "README.md"
|
9
|
-
version = "7.5.
|
9
|
+
version = "7.5.10"
|
10
10
|
authors = [{ name = "ragardner", email = "github@ragardner.simplelogin.com" }]
|
11
11
|
requires-python = ">=3.8"
|
12
12
|
license = {file = "LICENSE.txt"}
|
@@ -1863,14 +1863,15 @@ class ColumnHeaders(tk.Canvas):
|
|
1863
1863
|
except Exception:
|
1864
1864
|
self.tooltip.content_text.focus_set()
|
1865
1865
|
return
|
1866
|
-
if not self.tooltip.cell_readonly:
|
1866
|
+
if not self.tooltip.cell_readonly or not self.tooltip.note_readonly:
|
1867
1867
|
_, c, cell, note = self.tooltip.get()
|
1868
1868
|
datacn = self.MT.datacn(c)
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1869
|
+
if not self.tooltip.cell_readonly:
|
1870
|
+
event_data = self.new_single_edit_event(c, datacn, "??", self.get_cell_data(datacn), cell)
|
1871
|
+
self.do_single_edit(c, datacn, event_data, cell)
|
1872
|
+
if not self.tooltip.note_readonly:
|
1873
|
+
span = self.PAR.span(None, datacn, None, datacn + 1).options(table=False, header=True)
|
1874
|
+
self.PAR.note(span, note=note if note else None, readonly=False)
|
1874
1875
|
self.hide_tooltip()
|
1875
1876
|
self.MT.refresh()
|
1876
1877
|
self.focus_set()
|
@@ -6580,19 +6580,20 @@ class MainTable(tk.Canvas):
|
|
6580
6580
|
except Exception:
|
6581
6581
|
self.tooltip.content_text.focus_set()
|
6582
6582
|
return
|
6583
|
-
if not self.tooltip.cell_readonly:
|
6583
|
+
if not self.tooltip.cell_readonly or not self.tooltip.note_readonly:
|
6584
6584
|
r, c, cell, note = self.tooltip.get()
|
6585
6585
|
datarn, datacn = self.datarn(r), self.datacn(c)
|
6586
|
-
|
6587
|
-
|
6588
|
-
|
6589
|
-
|
6590
|
-
|
6591
|
-
|
6592
|
-
|
6593
|
-
|
6594
|
-
|
6595
|
-
self.
|
6586
|
+
if not self.tooltip.cell_readonly:
|
6587
|
+
event_data = self.new_single_edit_event(
|
6588
|
+
r, c, datarn, datacn, "??", self.get_cell_data(datarn, datacn), cell
|
6589
|
+
)
|
6590
|
+
value, event_data = self.single_edit_run_validation(datarn, datacn, event_data)
|
6591
|
+
if value is not None and (
|
6592
|
+
self.set_cell_data_undo(r=r, c=c, datarn=datarn, datacn=datacn, value=value, redraw=False)
|
6593
|
+
):
|
6594
|
+
try_binding(self.extra_end_edit_cell_func, event_data)
|
6595
|
+
if not self.tooltip.note_readonly:
|
6596
|
+
self.PAR.note(datarn, datacn, note=note if note else None, readonly=False)
|
6596
6597
|
self.hide_tooltip()
|
6597
6598
|
self.refresh()
|
6598
6599
|
self.focus_set()
|
@@ -2037,14 +2037,15 @@ class RowIndex(tk.Canvas):
|
|
2037
2037
|
except Exception:
|
2038
2038
|
self.tooltip.content_text.focus_set()
|
2039
2039
|
return
|
2040
|
-
if not self.tooltip.cell_readonly:
|
2040
|
+
if not self.tooltip.cell_readonly or not self.tooltip.note_readonly:
|
2041
2041
|
r, _, cell, note = self.tooltip.get()
|
2042
2042
|
datarn = self.MT.datarn(r)
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2043
|
+
if not self.tooltip.cell_readonly:
|
2044
|
+
event_data = self.new_single_edit_event(r, datarn, "??", self.get_cell_data(datarn), cell)
|
2045
|
+
self.do_single_edit(r, datarn, event_data, cell)
|
2046
|
+
if not self.tooltip.note_readonly:
|
2047
|
+
span = self.PAR.span(datarn).options(table=False, index=True)
|
2048
|
+
self.PAR.note(span, note=note if note else None, readonly=False)
|
2048
2049
|
self.hide_tooltip()
|
2049
2050
|
self.MT.refresh()
|
2050
2051
|
self.focus_set()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|