Commit Graph
45 Commits
Author SHA1 Message Date
David Sangrey 2041b3d3d3 [Minor] Update Type Hints and Alias Usages 2025-12-01 22:04:28 -05:00
David Sangrey 1beddea8e0 Merge pull request #2538 from inutt/fix/--/linting
Fix mypy linting issues
2025-12-01 21:51:20 -05:00
Inutt c5961cd91c Fix preference dialog not detecting tab change events 2025-11-29 03:26:21 +00:00
Inutt bf5824223d Fix mypy linting issues
Mostly related to adjusting `if sys.platform == 'win32'` logic so things that are only defined on win32 platforms don't
cause issues on other platforms.
2025-11-28 04:32:52 +00:00
David Sangrey 84dc66c8ac [#1293] Create Scrollable Notebook 2025-11-17 19:05:24 -05:00
David Sangrey a6bafe58b7 Remove Deprecated Functions 2025-11-13 21:45:06 -05:00
David Sangrey b8fa0f841b Revert Bad Label Style Change 2025-11-11 22:31:54 -05:00
David Sangrey c3f9247cd1 [#2116] Hand more things to TTK 2025-11-11 20:24:58 -05:00
David Sangrey 6d474abd01 Update Dep Warnings using Python 3.13 Syntax 2025-11-09 13:40:04 -05:00
David Sangrey 7d5fdb2b84 [2255] Update Dep Comment Format 2024-06-09 15:52:44 -04:00
Bruno Marques b0e682f66c Enabled DeprecationWarning by default and fixed references 2024-06-09 18:40:03 +01:00
David Sangrey fe7afad5e7 [Fix] Set Parent for messageboxes 2024-05-26 15:14:02 -04:00
David Sangrey f6d7100f24 [Fix] Update Translations, Fix Menu Creation, Fix Alt URL 2024-05-21 16:54:49 -04:00
David Sangrey 3d9e46d730 [Minor] Push Back Deprecation Date
While these modules are deprecated, one minor version is a little too quick to remove. Pushes back to 6.0 for plugin developer compatibilty's sake.
2024-04-26 12:41:57 -04:00
David Sangrey 96c78dae00 [Minor] Flake8 is Grumpy 2024-04-22 17:40:30 -04:00
David Sangrey f3fe146c66 [1812] Additional Translation Handover 2024-04-22 17:36:37 -04:00
David Sangrey 9cd69a19e4 [1133] Refine Inheritence 2024-04-17 15:35:57 -04:00
David Sangrey dd5e3812a7 [2186] Refine macOS to preserve ContextMenu 2024-04-13 14:44:44 -04:00
David Sangrey d9c7a79155 [Minor] Update Type Hintings
No Content Changes, Shuts Up MyPy
2024-04-06 16:59:49 -04:00
David Sangrey e0ef9b52c3 [2186] Additional Tweaks 2024-04-05 17:45:07 -04:00
David Sangrey ccb103242c Merge branch 'develop' into enhancement/2186/remove-darwin 2024-04-05 17:17:51 -04:00
David Sangrey d8d8540cee [2186] Resolve Some Merge Issues From EntryMenu 2024-04-05 17:16:25 -04:00
David Sangrey 572f724a71 [1471] Add PIL to Improve Clipboard 2024-03-28 12:59:22 -04:00
David Sangrey 56a4ae25e0 [Nit] Clarify Comments 2024-03-27 22:21:26 -04:00
David Sangrey c1b8533cb4 [2186] Simplify myNB Files 2024-03-27 21:22:35 -04:00
David Sangrey f7b39f8daf [2186] MyNB First Pass 2024-03-27 20:10:55 -04:00
David Sangrey 27093d8862 [2186] Main, Dashboard, Prefs 2024-03-27 19:26:25 -04:00
David Sangrey ccda74c8f1 [Minor] Remove Crappy Type Hint 2024-03-23 17:05:14 -04:00
David Sangrey 813cf92521 [1133] Add ContextMenu Globally 2024-03-23 16:54:13 -04:00
David Sangrey b2d5e13465 [2051] Update Supporting Files
Not touching any of the big ones, but some clarification updates to many of the supporting files.
2023-11-17 11:33:26 -05:00
A_D fa99225b95 myNotebook.py: Make platform check simpler
Mypy does not appear to understand the `x in ...` format for this chech
2022-12-23 17:56:44 +02:00
Athanasius f4b150960c prefs.py & related files: Fix up mypy type checking
* Some trivial.
* As myNotebook.py's class is based on `ttk.Notebook`, typing changed to
  that.
2022-12-23 14:47:21 +00:00
Athanasius 514f3fac8a myNotebook.py: Now passes flake8 & mypy
* Typed `master` to each `__init__()`.
* Having to `# type: ignore` the base class for the classes which are
  "tk on darwin, else ttk" as this 'dynamic' type confuses mypy.

  See the comment on `class Frame` for a suggested proper fix, which will
  be more work.
2022-12-03 12:16:44 +00:00
Athanasius 84860607d7 myNotebook.py: Add file and class docstrings 2022-12-03 12:09:45 +00:00
A_D bff6175ee7 Update to use sys.platform over platform 2022-01-26 18:51:49 +02:00
Athanasius 71bb14a737 Document allowed imports for PLUGINS
* List added in 'Available imports' section of PLUGINS.md
* Various *.py files now have comments about things being allowed for
 plugin import.
2020-07-12 19:25:47 +01:00
Jonathan Harris 0f09c09d43 Misc fixes for MacOS 2019-09-30 03:07:38 +01:00
Athanasius 218c068ee5 Running EDMarketConnector.py 'works'.
First pass utilising 'futurize' to do most of the work.

  There's an issue with ur'\"' in l10n.py which I'm not sure how to
properly fix.

  This now has errors when hitting the 'Update' button.
2019-09-26 11:40:38 +01:00
Jonathan Harris 55d80c8299 Workaround for https://bugs.python.org/issue25684 2018-04-02 22:55:53 +01:00
Jonathan Harris 7063d141b4 Match OptionMenu menu colour to button 2016-07-27 15:20:29 +01:00
Jonathan Harris 3994b02276 Add top padding on OSX 2016-07-26 23:33:02 +01:00
Jonathan Harris c81ffcd629 Add notebook OptionMenu widget 2016-02-05 18:11:32 +00:00
Jonathan Harris c151396e4e Add ColoredButton for colored backgrounds 2016-02-01 02:06:22 +00:00
Jonathan Harris 84a66c5285 Split settings into tabbed notebook.
Fixes #53.
2016-01-02 01:59:16 +00:00
Jonathan Harris f863f2efc8 Split TNotebook fixups into separate file. 2016-01-02 01:59:16 +00:00