You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DOCUMENTATION.html
+24-41Lines changed: 24 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -303,9 +303,9 @@
303
303
<li><ahref="#table-functionality-and-bindings">Table Functionality and Bindings</a><ul>
304
304
<li><ahref="#enable-table-functionality-and-bindings">Enable table functionality and bindings</a></li>
305
305
<li><ahref="#disable-table-functionality-and-bindings">Disable table functionality and bindings</a></li>
306
-
<li><ahref="#bind-specific-table-functionality">Bind specific table functionality</a></li>
306
+
<li><ahref="#bind-specific-table-functionality-like-cell-edits">Bind specific table functionality like cell edits</a></li>
307
307
<li><ahref="#event-data">Event Data</a></li>
308
-
<li><ahref="#validate-user-cell-edits">Validate user cell edits</a></li>
308
+
<li><ahref="#bind-and-validate-user-cell-edits">Bind and validate user cell edits</a></li>
309
309
<li><ahref="#add-commands-to-the-in-built-right-click-popup-menu">Add commands to the in-built right click popup menu</a></li>
310
310
<li><ahref="#remove-commands-added-using-popup_menu_add_command-from-the-in-built-right-click-popup-menu">Remove commands added using popup_menu_add_command from the in-built right click popup menu</a></li>
311
311
<li><ahref="#enable-or-disable-mousewheel-left-click-etc">Enable or disable mousewheel, left click etc</a></li>
# add some new commands to the in-built right click menu
@@ -1927,11 +1924,11 @@ <h4 id="disable-table-functionality-and-bindings"><strong>Disable table function
1927
1924
<li>Uses the same arguments as <code>enable_bindings()</code>.</li>
1928
1925
</ul>
1929
1926
<hr/>
1930
-
<h4id="bind-specific-table-functionality"><strong>Bind specific table functionality</strong></h4>
1927
+
<h4id="bind-specific-table-functionality-like-cell-edits"><strong>Bind specific table functionality like cell edits</strong></h4>
1931
1928
<p>This function allows you to bind <strong>very</strong> specific table functionality to your own functions:</p>
1932
1929
<ul>
1933
1930
<li>If you want less specificity in event names you can also bind all sheet modifying events to a single function, <ahref="#tkinter-and-tksheet-events">see here</a>.</li>
1934
-
<li>If you want to validate/modify user cell edits <ahref="#validate-user-cell-edits">see here</a>.</li>
1931
+
<li>If you want to validate/modify user cell edits <ahref="#bind-and-validate-user-cell-edits">see here</a>.</li>
1935
1932
</ul>
1936
1933
<pre><codeclass="language-python">extra_bindings(
1937
1934
bindings: str | list | tuple,
@@ -1963,7 +1960,16 @@ <h4 id="bind-specific-table-functionality"><strong>Bind specific table functiona
<li>Key <strong><code>["widget"]</code></strong> will contain the widget which emitted the event, either the <code>MainTable()</code>, <code>ColumnHeaders()</code> or <code>RowIndex()</code> which are all <code>tk.Canvas</code> widgets.</li>
2287
2287
</ul>
2288
2288
<hr/>
2289
-
<h4id="validate-user-cell-edits"><strong>Validate user cell edits</strong></h4>
2289
+
<h4id="bind-and-validate-user-cell-edits"><strong>Bind and validate user cell edits</strong></h4>
2290
2290
<p>With these functions you can validate or modify most user sheet edits, includes cut, paste, delete (including column/row clear), dropdown boxes and cell edits.</p>
2291
2291
<p><strong>Edit validation</strong></p>
2292
2292
<p>This function will be called for every cell edit in an action.</p>
@@ -4338,7 +4338,7 @@ <h4 id="make-all-data-rows-the-same-length"><strong>Make all data rows the same
4338
4338
<h1id="sorting-the-table"><strong>Sorting the Table</strong></h1>
4339
4339
<p>tksheet has various built-in sorting keys and functions which can handle most python objects. Rows can be sorted by a particular column, columns can be sorted by a particular row and a selection of cell's values can be sorted row/column wise.</p>
4340
4340
<p>Note that the readonly functions can be used to disallow sorting of particular cell's/row's/column's values.</p>
4341
-
<p>There are three built-in sorting keys to choose from but you can always create your own and use that instead. See <ahref="#setting-the-default-sorting-key">here</a> for more information on how to set the default sorting key.</p>
4341
+
<p>There are three built-in sorting keys to choose from but you can always create your own and use that instead. This would enable a custom sorting order of object types. See <ahref="#setting-the-default-sorting-key">here</a> for more information on how to set the default sorting key.</p>
<p>tksheet is released under the MIT License. You can find the full text of the license <ahref="https://github.com/ragardner/tksheet/blob/master/LICENSE.txt">here</a>.</p>
8017
8017
<p>By contributing to the tksheet project, you agree to license your contributions under the same MIT License. Please make sure to read and understand the terms and conditions of the license before contributing.</p>
<li>If you are working on a new feature, create a new branch for your contribution. Use a descriptive name for the branch that reflects the feature you're working on.</li>
8023
-
<li>Make your changes in your local branch, following the code style and conventions established in the project.</li>
8024
-
<li>Test your changes thoroughly to ensure they do not introduce any new bugs or issues.</li>
8025
-
<li>Submit a pull request to the <code>main</code> branch of the tksheet repository, including a clear title and detailed description of your changes. Pull requests ideally should include a small but comprehensive demonstration of the feature you are adding.</li>
8026
-
<li>Don't forget to update the documentation!</li>
8027
-
</ol>
8028
-
<p><strong><em>Note:</em></strong> If you're submitting a bugfix, it's generally preferred to submit it directly to the relevant branch, rather than creating a separate branch.</p>
<p>Got a question that hasn't been answered in the closed issues or is missing from the documentation? please follow these guidelines:</p>
8031
-
<ul>
8032
-
<li>Submit your question as an issue in the <ahref="https://github.com/ragardner/tksheet/issues">Issues tab</a>.</li>
8033
-
<li>Provide a clear and concise description of your question, including any relevant details or examples that can help us understand your query better.</li>
8034
-
</ul>
8035
8018
<h3id="issues"><strong>Issues</strong></h3>
8036
8019
<p>Please use the <ahref="https://github.com/ragardner/tksheet/issues">Issues tab</a> to report any issues or ask for assistance.</p>
8037
8020
<p>When submitting an issue, please follow these guidelines:</p>
<li>If asking a question or seeking help, provide a clear and concise description of your question or issue, including any relevant details or examples that can help people understand your query better.</li>
8042
8025
<li>Include any relevant screenshots or gifs that can visually illustrate the issue or your question.</li>
8043
8026
</ul>
8044
-
<h3id="enhancements-or-suggestions"><strong>Enhancements or Suggestions</strong></h3>
8045
-
<p>If you have an idea for a new feature, improvement or change, please follow these guidelines:</p>
8027
+
<h3id="contributions-and-special-thanks"><strong>Contributions and Special Thanks</strong></h3>
8028
+
<p>With apologies, development of this library has ceased except for:</p>
8046
8029
<ul>
8047
-
<li>Submit your suggestion as an issue in the <ahref="https://github.com/ragardner/tksheet/issues">Issues tab</a>.</li>
8048
-
<li>Include a clear and concise description of your idea, including any relevant details, screenshots, or mock-ups that can help contributors understand your suggestion better.</li>
8049
-
<li>You're also welcome to become a contributor yourself and help implement your idea!</li>
8030
+
<li>Bug fixes.</li>
8031
+
<li>Behavioral issues.</li>
8032
+
<li>Documentation.</li>
8050
8033
</ul>
8051
-
<h3id="contributors-and-special-thanks"><strong>Contributors and Special Thanks</strong></h3>
8034
+
<p>Pull requests for anything else are unlikely to be merged.</p>
8052
8035
<p>A special thank you to:</p>
8053
8036
<ul>
8054
8037
<li>@CalJaDav for the very helpful ideas/pull requests, guidance in implementing them and helping me become a better developer.</li>
# add some new commands to the in-built right click menu
@@ -1285,12 +1285,12 @@ Notes:
1285
1285
1286
1286
___
1287
1287
1288
-
#### **Bind specific table functionality**
1288
+
#### **Bind specific table functionality like cell edits**
1289
1289
1290
1290
This function allows you to bind **very** specific table functionality to your own functions:
1291
1291
1292
1292
- If you want less specificity in event names you can also bind all sheet modifying events to a single function, [see here](#tkinter-and-tksheet-events).
1293
-
- If you want to validate/modify user cell edits [see here](#validate-user-cell-edits).
1293
+
- If you want to validate/modify user cell edits [see here](#bind-and-validate-user-cell-edits).
With these functions you can validate or modify most user sheet edits, includes cut, paste, delete (including column/row clear), dropdown boxes and cell edits.
1599
1602
@@ -3942,7 +3945,7 @@ tksheet has various built-in sorting keys and functions which can handle most py
3942
3945
3943
3946
Note that the readonly functions can be used to disallow sorting of particular cell's/row's/column's values.
3944
3947
3945
-
There are three built-in sorting keys to choose from but you can always create your own and use that instead. See [here](#setting-the-default-sorting-key) for more information on how to set the default sorting key.
3948
+
There are three built-in sorting keys to choose from but you can always create your own and use that instead. This would enable a custom sorting order of object types. See [here](#setting-the-default-sorting-key) for more information on how to set the default sorting key.
0 commit comments