scustomtkinter 0.2.2__tar.gz → 0.2.3__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.
Files changed (106) hide show
  1. {scustomtkinter-0.2.2/scustomtkinter.egg-info → scustomtkinter-0.2.3}/PKG-INFO +1 -1
  2. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/pyproject.toml +1 -1
  3. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_frequency_display.py +17 -0
  4. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3/scustomtkinter.egg-info}/PKG-INFO +1 -1
  5. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/LICENSE +0 -0
  6. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/MANIFEST.in +0 -0
  7. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/README.md +0 -0
  8. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/__init__.py +0 -0
  9. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/assets/images/error.png +0 -0
  10. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/assets/images/info.png +0 -0
  11. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/assets/images/warning.png +0 -0
  12. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/assets/sCTkThemes.json +0 -0
  13. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/license_morecustomtkinterwidgets.txt +0 -0
  14. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_button_primary.py +0 -0
  15. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_button_secondary.py +0 -0
  16. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_button_tertiary.py +0 -0
  17. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_checkbox.py +0 -0
  18. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_combobox.py +0 -0
  19. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_core.py +0 -0
  20. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_dial.py +0 -0
  21. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_dialog.py +0 -0
  22. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_dialog_toplevel.py +0 -0
  23. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_entry_primary.py +0 -0
  24. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_entry_secondary.py +0 -0
  25. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_file_explorer.py +0 -0
  26. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_frame.py +0 -0
  27. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_frame_labeled_primary.py +0 -0
  28. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_frame_labeled_secondary.py +0 -0
  29. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_label_primary.py +0 -0
  30. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_label_secondary.py +0 -0
  31. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_label_tertiary.py +0 -0
  32. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_messagebox.py +0 -0
  33. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_notebook.py +0 -0
  34. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_optionmenu_border_mixin.py +0 -0
  35. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_optionmenu_primary.py +0 -0
  36. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_optionmenu_secondary.py +0 -0
  37. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_path_chooser.py +0 -0
  38. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_progress_bar.py +0 -0
  39. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_radiobutton.py +0 -0
  40. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_scroll_mixin.py +0 -0
  41. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_scrollable_frame.py +0 -0
  42. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_scrollbar.py +0 -0
  43. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_segmentedbutton.py +0 -0
  44. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_selector.py +0 -0
  45. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_separator.py +0 -0
  46. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_slider.py +0 -0
  47. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_smeter.py +0 -0
  48. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_smeter_bar.py +0 -0
  49. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_spinbox.py +0 -0
  50. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_switch.py +0 -0
  51. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_tableview.py +0 -0
  52. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_tabview.py +0 -0
  53. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_textbox_primary.py +0 -0
  54. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_textbox_secondary.py +0 -0
  55. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/sctk_toplevel.py +0 -0
  56. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter/themeable_widget.py +0 -0
  57. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter.egg-info/SOURCES.txt +0 -0
  58. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter.egg-info/dependency_links.txt +0 -0
  59. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter.egg-info/entry_points.txt +0 -0
  60. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter.egg-info/requires.txt +0 -0
  61. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter.egg-info/top_level.txt +0 -0
  62. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/__init__.py +0 -0
  63. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/designer/__init__.py +0 -0
  64. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/designer/plugin.py +0 -0
  65. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/designer/properties.py +0 -0
  66. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkButtonPrimarybo.py +0 -0
  67. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkButtonSecondarybo.py +0 -0
  68. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkButtonTertiarybo.py +0 -0
  69. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkCheckBoxbo.py +0 -0
  70. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkComboBoxbo.py +0 -0
  71. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkCorebo.py +0 -0
  72. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkDialbo.py +0 -0
  73. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkDialogbo.py +0 -0
  74. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkEntryPrimarybo.py +0 -0
  75. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkEntrySecondarybo.py +0 -0
  76. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkFileExplorerbo.py +0 -0
  77. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkFrameLabeledPrimarybo.py +0 -0
  78. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkFrameLabeledSecondarybo.py +0 -0
  79. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkFramebo.py +0 -0
  80. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkFrequencyDisplaybo.py +0 -0
  81. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkLabelPrimarybo.py +0 -0
  82. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkLabelSecondarybo.py +0 -0
  83. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkLabelTertiarybo.py +0 -0
  84. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkNotebookbo.py +0 -0
  85. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkOptionMenuPrimarybo.py +0 -0
  86. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkOptionMenuSecondarybo.py +0 -0
  87. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkPathChooserbo.py +0 -0
  88. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkProgressBarbo.py +0 -0
  89. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkRadioButtonbo.py +0 -0
  90. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSMeterBarbo.py +0 -0
  91. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSMeterbo.py +0 -0
  92. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkScrollableFramebo.py +0 -0
  93. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkScrollbarbo.py +0 -0
  94. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSegmentedButtonbo.py +0 -0
  95. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSelectorbo.py +0 -0
  96. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSeparatorbo.py +0 -0
  97. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSliderbo.py +0 -0
  98. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSpinboxbo.py +0 -0
  99. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkSwitchbo.py +0 -0
  100. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkTableviewbo.py +0 -0
  101. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkTabviewbo.py +0 -0
  102. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkTextboxPrimarybo.py +0 -0
  103. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkTextboxSecondarybo.py +0 -0
  104. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkToplevelbo.py +0 -0
  105. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/scustomtkinter_pygubu/sCTkWidgetSetForPygubuDesigner.py +0 -0
  106. {scustomtkinter-0.2.2 → scustomtkinter-0.2.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scustomtkinter
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Themeable widgets for CustomTkinter -- tiers of buttons, labels and entries, dials, meters, tables and file choosers -- with Pygubu Designer support.
5
5
  Author: Mark J. Hatch (AJ6CU)
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "scustomtkinter"
7
- version = "0.2.2"
7
+ version = "0.2.3"
8
8
  authors = [
9
9
  { name = "Mark J. Hatch (AJ6CU)" }
10
10
  ]
@@ -38,6 +38,7 @@ positions, a proportional font makes 1 and 8 different widths, so a digit
38
38
  changing shifts the ink inside its own cell.
39
39
  """
40
40
  import tkinter as tk
41
+ import sys
41
42
  import tkinter.font as tkfont
42
43
 
43
44
  import customtkinter as ctk
@@ -252,6 +253,22 @@ class sCTkFrequencyDisplay(ctk.CTkFrame, ThemeableWidget):
252
253
  except Exception:
253
254
  chosen = "Courier"
254
255
 
256
+ # FIX (2026-11-13): NOT WINDOWS' BITMAP COURIER. On Windows "Courier"
257
+ # IS installed -- as the old raster font, drawn for a few fixed sizes,
258
+ # so at a readout's size the digits came out jagged (Mark, uBITX CEC
259
+ # Desktop on a ThinkPad X1 Carbon at 200 %). Its TrueType relatives
260
+ # are used instead: Consolas, else Courier New. Elsewhere Courier is
261
+ # an outline font and stays.
262
+ if sys.platform == "win32" and chosen.lower() == "courier":
263
+ try:
264
+ installed = {f.lower() for f in tkfont.families()}
265
+ for candidate in ("Consolas", "Courier New"):
266
+ if candidate.lower() in installed:
267
+ chosen = candidate
268
+ break
269
+ except Exception:
270
+ pass
271
+
255
272
  self.__class__._resolved_family = (preferred, chosen)
256
273
  return chosen
257
274
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scustomtkinter
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Themeable widgets for CustomTkinter -- tiers of buttons, labels and entries, dials, meters, tables and file choosers -- with Pygubu Designer support.
5
5
  Author: Mark J. Hatch (AJ6CU)
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes