scustomtkinter 0.2.1__py3-none-any.whl
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.
- scustomtkinter/__init__.py +81 -0
- scustomtkinter/assets/images/error.png +0 -0
- scustomtkinter/assets/images/info.png +0 -0
- scustomtkinter/assets/images/warning.png +0 -0
- scustomtkinter/assets/sCTkThemes.json +1963 -0
- scustomtkinter/license_morecustomtkinterwidgets.txt +22 -0
- scustomtkinter/sctk_button_primary.py +366 -0
- scustomtkinter/sctk_button_secondary.py +354 -0
- scustomtkinter/sctk_button_tertiary.py +375 -0
- scustomtkinter/sctk_checkbox.py +270 -0
- scustomtkinter/sctk_combobox.py +155 -0
- scustomtkinter/sctk_core.py +15 -0
- scustomtkinter/sctk_dial.py +1472 -0
- scustomtkinter/sctk_dialog.py +701 -0
- scustomtkinter/sctk_dialog_toplevel.py +268 -0
- scustomtkinter/sctk_entry_primary.py +400 -0
- scustomtkinter/sctk_entry_secondary.py +342 -0
- scustomtkinter/sctk_file_explorer.py +879 -0
- scustomtkinter/sctk_frame.py +210 -0
- scustomtkinter/sctk_frame_labeled_primary.py +667 -0
- scustomtkinter/sctk_frame_labeled_secondary.py +598 -0
- scustomtkinter/sctk_frequency_display.py +636 -0
- scustomtkinter/sctk_label_primary.py +283 -0
- scustomtkinter/sctk_label_secondary.py +275 -0
- scustomtkinter/sctk_label_tertiary.py +278 -0
- scustomtkinter/sctk_messagebox.py +275 -0
- scustomtkinter/sctk_notebook.py +1103 -0
- scustomtkinter/sctk_optionmenu_border_mixin.py +203 -0
- scustomtkinter/sctk_optionmenu_primary.py +378 -0
- scustomtkinter/sctk_optionmenu_secondary.py +346 -0
- scustomtkinter/sctk_path_chooser.py +516 -0
- scustomtkinter/sctk_progress_bar.py +274 -0
- scustomtkinter/sctk_radiobutton.py +360 -0
- scustomtkinter/sctk_scroll_mixin.py +546 -0
- scustomtkinter/sctk_scrollable_frame.py +795 -0
- scustomtkinter/sctk_scrollbar.py +313 -0
- scustomtkinter/sctk_segmentedbutton.py +424 -0
- scustomtkinter/sctk_selector.py +581 -0
- scustomtkinter/sctk_separator.py +308 -0
- scustomtkinter/sctk_slider.py +264 -0
- scustomtkinter/sctk_smeter.py +405 -0
- scustomtkinter/sctk_smeter_bar.py +557 -0
- scustomtkinter/sctk_spinbox.py +664 -0
- scustomtkinter/sctk_switch.py +463 -0
- scustomtkinter/sctk_tableview.py +869 -0
- scustomtkinter/sctk_tabview.py +409 -0
- scustomtkinter/sctk_textbox_primary.py +291 -0
- scustomtkinter/sctk_textbox_secondary.py +225 -0
- scustomtkinter/sctk_toplevel.py +153 -0
- scustomtkinter/themeable_widget.py +938 -0
- scustomtkinter-0.2.1.dist-info/METADATA +336 -0
- scustomtkinter-0.2.1.dist-info/RECORD +101 -0
- scustomtkinter-0.2.1.dist-info/WHEEL +5 -0
- scustomtkinter-0.2.1.dist-info/entry_points.txt +2 -0
- scustomtkinter-0.2.1.dist-info/licenses/LICENSE +21 -0
- scustomtkinter-0.2.1.dist-info/licenses/scustomtkinter/license_morecustomtkinterwidgets.txt +22 -0
- scustomtkinter-0.2.1.dist-info/top_level.txt +2 -0
- scustomtkinter_pygubu/__init__.py +1 -0
- scustomtkinter_pygubu/designer/__init__.py +0 -0
- scustomtkinter_pygubu/designer/plugin.py +1854 -0
- scustomtkinter_pygubu/designer/properties.py +247 -0
- scustomtkinter_pygubu/sCTkButtonPrimarybo.py +46 -0
- scustomtkinter_pygubu/sCTkButtonSecondarybo.py +45 -0
- scustomtkinter_pygubu/sCTkButtonTertiarybo.py +44 -0
- scustomtkinter_pygubu/sCTkCheckBoxbo.py +45 -0
- scustomtkinter_pygubu/sCTkComboBoxbo.py +45 -0
- scustomtkinter_pygubu/sCTkCorebo.py +120 -0
- scustomtkinter_pygubu/sCTkDialbo.py +371 -0
- scustomtkinter_pygubu/sCTkDialogbo.py +397 -0
- scustomtkinter_pygubu/sCTkEntryPrimarybo.py +100 -0
- scustomtkinter_pygubu/sCTkEntrySecondarybo.py +98 -0
- scustomtkinter_pygubu/sCTkFileExplorerbo.py +189 -0
- scustomtkinter_pygubu/sCTkFrameLabeledPrimarybo.py +69 -0
- scustomtkinter_pygubu/sCTkFrameLabeledSecondarybo.py +71 -0
- scustomtkinter_pygubu/sCTkFramebo.py +46 -0
- scustomtkinter_pygubu/sCTkFrequencyDisplaybo.py +175 -0
- scustomtkinter_pygubu/sCTkLabelPrimarybo.py +45 -0
- scustomtkinter_pygubu/sCTkLabelSecondarybo.py +44 -0
- scustomtkinter_pygubu/sCTkLabelTertiarybo.py +45 -0
- scustomtkinter_pygubu/sCTkNotebookbo.py +392 -0
- scustomtkinter_pygubu/sCTkOptionMenuPrimarybo.py +45 -0
- scustomtkinter_pygubu/sCTkOptionMenuSecondarybo.py +39 -0
- scustomtkinter_pygubu/sCTkPathChooserbo.py +204 -0
- scustomtkinter_pygubu/sCTkProgressBarbo.py +45 -0
- scustomtkinter_pygubu/sCTkRadioButtonbo.py +45 -0
- scustomtkinter_pygubu/sCTkSMeterBarbo.py +153 -0
- scustomtkinter_pygubu/sCTkSMeterbo.py +101 -0
- scustomtkinter_pygubu/sCTkScrollableFramebo.py +66 -0
- scustomtkinter_pygubu/sCTkScrollbarbo.py +48 -0
- scustomtkinter_pygubu/sCTkSegmentedButtonbo.py +47 -0
- scustomtkinter_pygubu/sCTkSelectorbo.py +167 -0
- scustomtkinter_pygubu/sCTkSeparatorbo.py +141 -0
- scustomtkinter_pygubu/sCTkSliderbo.py +45 -0
- scustomtkinter_pygubu/sCTkSpinboxbo.py +200 -0
- scustomtkinter_pygubu/sCTkSwitchbo.py +45 -0
- scustomtkinter_pygubu/sCTkTableviewbo.py +188 -0
- scustomtkinter_pygubu/sCTkTabviewbo.py +226 -0
- scustomtkinter_pygubu/sCTkTextboxPrimarybo.py +45 -0
- scustomtkinter_pygubu/sCTkTextboxSecondarybo.py +45 -0
- scustomtkinter_pygubu/sCTkToplevelbo.py +55 -0
- scustomtkinter_pygubu/sCTkWidgetSetForPygubuDesigner.py +141 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# scustomtkinter/__init__
|
|
2
|
+
|
|
3
|
+
#from .sCTkThemes import apply_sCTkThemes
|
|
4
|
+
import os
|
|
5
|
+
|
|
6
|
+
# 🔑 THE DYNAMIC FILE PATH ANCHOR: Extracts the absolute physical location on disk
|
|
7
|
+
_PACKAGE_ROOT = os.path.dirname(os.path.abspath(__file__))
|
|
8
|
+
|
|
9
|
+
def get_asset_path(relative_path: str) -> str:
|
|
10
|
+
"""Safely resolves file paths to assets relative to the physical package directory."""
|
|
11
|
+
return os.path.normpath(os.path.join(_PACKAGE_ROOT, relative_path))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from .sctk_core import sCTk
|
|
15
|
+
from .sctk_button_primary import sCTkButtonPrimary
|
|
16
|
+
|
|
17
|
+
# __all__ = [
|
|
18
|
+
# "sctk_button_primarybo",
|
|
19
|
+
# ]
|
|
20
|
+
|
|
21
|
+
from .sctk_button_secondary import sCTkButtonSecondary
|
|
22
|
+
from .sctk_button_tertiary import sCTkButtonTertiary
|
|
23
|
+
from .sctk_checkbox import sCTkCheckBox
|
|
24
|
+
from .sctk_combobox import sCTkComboBox
|
|
25
|
+
from .sctk_dial import sCTkDialContinuous
|
|
26
|
+
from .sctk_dial import sCTkDialSelector
|
|
27
|
+
from .sctk_dial import sCTkDialRange
|
|
28
|
+
from .sctk_dialog import sCTkDialog
|
|
29
|
+
from .sctk_entry_primary import sCTkEntryPrimary
|
|
30
|
+
from .sctk_entry_secondary import sCTkEntrySecondary
|
|
31
|
+
from .sctk_file_explorer import sCTkFileExplorer
|
|
32
|
+
from .sctk_frame import sCTkFrame
|
|
33
|
+
from .sctk_frame_labeled_primary import sCTkFrameLabeledPrimary
|
|
34
|
+
from .sctk_frame_labeled_secondary import sCTkFrameLabeledSecondary
|
|
35
|
+
from .sctk_frequency_display import sCTkFrequencyDisplay
|
|
36
|
+
from .sctk_label_primary import sCTkLabelPrimary
|
|
37
|
+
from .sctk_label_secondary import sCTkLabelSecondary
|
|
38
|
+
from .sctk_label_tertiary import sCTkLabelTertiary
|
|
39
|
+
from .sctk_messagebox import sCTkMessagebox
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# =====================================================================
|
|
43
|
+
# 📦 VIRTUAL MESSAGEBOX SUBMODULE PROXY NAMESPACE
|
|
44
|
+
# =====================================================================
|
|
45
|
+
|
|
46
|
+
class _VirtualMessagebox:
|
|
47
|
+
"""Namespace container class mimicking the native tkinter.messagebox layout hooks."""
|
|
48
|
+
def __init__(self):
|
|
49
|
+
self.showinfo = sCTkMessagebox.showinfo
|
|
50
|
+
self.showwarning = sCTkMessagebox.showwarning
|
|
51
|
+
self.showerror = sCTkMessagebox.showerror
|
|
52
|
+
self.askyesno = sCTkMessagebox.askyesno
|
|
53
|
+
self.askwarningyesno = sCTkMessagebox.askwarningyesno
|
|
54
|
+
self.askerroryesno = sCTkMessagebox.askerroryesno
|
|
55
|
+
|
|
56
|
+
# 🚀 Expose the virtual module globally inside the storefront namespace!
|
|
57
|
+
messagebox = _VirtualMessagebox()
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
from .sctk_optionmenu_primary import sCTkOptionMenuPrimary
|
|
61
|
+
from .sctk_optionmenu_secondary import sCTkOptionMenuSecondary
|
|
62
|
+
from .sctk_path_chooser import sCTkPathChooser
|
|
63
|
+
from .sctk_progress_bar import sCTkProgressBar
|
|
64
|
+
from .sctk_radiobutton import sCTkRadioButton
|
|
65
|
+
from .sctk_scrollable_frame import sCTkScrollableFrame
|
|
66
|
+
from .sctk_scrollbar import sCTkScrollbar
|
|
67
|
+
from .sctk_scrollbar import sCTkScrollArea
|
|
68
|
+
from .sctk_segmentedbutton import sCTkSegmentedButton
|
|
69
|
+
from .sctk_selector import sCTkSelector
|
|
70
|
+
from .sctk_separator import sCTkSeparator
|
|
71
|
+
from .sctk_slider import sCTkSlider
|
|
72
|
+
from .sctk_smeter import sCTkSMeter
|
|
73
|
+
from .sctk_smeter_bar import sCTkSMeterBar
|
|
74
|
+
from .sctk_spinbox import sCTkSpinbox
|
|
75
|
+
from .sctk_switch import sCTkSwitch
|
|
76
|
+
from .sctk_tableview import sCTkTableview
|
|
77
|
+
from .sctk_tabview import sCTkTabview
|
|
78
|
+
from .sctk_notebook import sCTkNotebook
|
|
79
|
+
from .sctk_textbox_primary import sCTkTextboxPrimary
|
|
80
|
+
from .sctk_textbox_secondary import sCTkTextboxSecondary
|
|
81
|
+
from .sctk_toplevel import sCTkToplevel
|
|
Binary file
|
|
Binary file
|
|
Binary file
|