pygui_simple 0.1.1__tar.gz → 0.2.0__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.
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/PKG-INFO +1 -1
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/pyproject.toml +1 -1
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/tkwin.py +7 -1
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/LICENSE +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/README.md +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/__init__.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/cv2_utilities.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/py.typed +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/tkcalendar.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/tkcontrol.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/tkmatplot.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/tkscrollpicker.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/tkslideswitch.py +0 -0
- {pygui_simple-0.1.1 → pygui_simple-0.2.0}/src/pygui_simple/winbasic.py +0 -0
|
@@ -340,10 +340,16 @@ class NotebookCtrl(tkControl):
|
|
|
340
340
|
|
|
341
341
|
# TODO: not fininsed
|
|
342
342
|
class FrameCtrl(tkControl):
|
|
343
|
-
def __init__(self, parent: tk.Misc, idself: str, **options):
|
|
343
|
+
def __init__(self, parent: tk.Misc, idself: str, columnconfigure: str = "", **options):
|
|
344
344
|
ctrl = tk.Frame(parent, **options)
|
|
345
345
|
tkControl.__init__(self, parent, "", idself, ctrl)
|
|
346
346
|
|
|
347
|
+
if columnconfigure:
|
|
348
|
+
lst = columnconfigure.strip('()').split(',')
|
|
349
|
+
colcfgs = tuple(int(x) for x in lst)
|
|
350
|
+
for i, wgh in enumerate(colcfgs):
|
|
351
|
+
_ = ctrl.columnconfigure(i, weight=wgh)
|
|
352
|
+
|
|
347
353
|
@override
|
|
348
354
|
def destroy(self):
|
|
349
355
|
# po(f"FrameCtrl {self._idself} destroy")
|
|
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
|