FunctionGUI 0.6.2__py3-none-any.whl → 0.6.4__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.
- FunctionGUI/FunctionGUI.py +4 -5
- {FunctionGUI-0.6.2.dist-info → FunctionGUI-0.6.4.dist-info}/METADATA +1 -1
- FunctionGUI-0.6.4.dist-info/RECORD +6 -0
- FunctionGUI-0.6.2.dist-info/RECORD +0 -6
- {FunctionGUI-0.6.2.dist-info → FunctionGUI-0.6.4.dist-info}/WHEEL +0 -0
- {FunctionGUI-0.6.2.dist-info → FunctionGUI-0.6.4.dist-info}/top_level.txt +0 -0
FunctionGUI/FunctionGUI.py
CHANGED
@@ -21,8 +21,8 @@ def ScrollBar(root, widget, side="right", fill="y"):
|
|
21
21
|
scrollbar.pack(side=side, fill=fill)
|
22
22
|
a.config(yscrollcommand=scrollbar.set)
|
23
23
|
|
24
|
-
def Label(parent, textvariabl, text=
|
25
|
-
label = ttk.Label(parent, text=text, font = (font, size), foreground = color, wraplength=wraplenght, textvariable=textvariabl)
|
24
|
+
def Label(parent, textvariabl, text=None, font="Helvetica", size=12, color="black", wraplenght=2, width=50, height=50):
|
25
|
+
label = ttk.Label(parent, text=text, font = (font, size), foreground = color, wraplength=wraplenght, textvariable=textvariabl, width=width, height=height)
|
26
26
|
return label
|
27
27
|
|
28
28
|
|
@@ -33,10 +33,9 @@ def Place(widget, x, y):
|
|
33
33
|
def Font(name = 'arial', size = 20, weight = "bold"):
|
34
34
|
font = tkfont.Font(name = name, size = size, weight = weight)
|
35
35
|
return font
|
36
|
-
def StrVar():
|
37
|
-
v = tk.StringVar()
|
36
|
+
def StrVar(master, string):
|
37
|
+
v = tk.StringVar(master, string)
|
38
38
|
return v
|
39
|
-
|
40
39
|
def OpenFile(title):
|
41
40
|
file_path = filedialog.askopenfilename(title="Select a file")
|
42
41
|
return file_path
|
@@ -0,0 +1,6 @@
|
|
1
|
+
FunctionGUI/FunctionGUI.py,sha256=zF2lnsli_w9vwUJ7331QFDJdyuCeHvf41Xp--GyvTD4,4033
|
2
|
+
FunctionGUI/__init__.py,sha256=QVxdhpXu8KTDl7ylSFkn7HucZiS2HHLoJSW4nPVPCtY,256
|
3
|
+
FunctionGUI-0.6.4.dist-info/METADATA,sha256=w0_lVHlQBncp5P7S5Ay9vDFkq0AdXgCNPt0nigpNmyM,1724
|
4
|
+
FunctionGUI-0.6.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
5
|
+
FunctionGUI-0.6.4.dist-info/top_level.txt,sha256=_gisKDTO1FqIkJYqH6X1ZrcA0ZvQdKnA_JhABqCSUFo,12
|
6
|
+
FunctionGUI-0.6.4.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
FunctionGUI/FunctionGUI.py,sha256=pdZA8rGOfr6mJFy-w4xlgWGmfi-YpPFUcWQq-wxXIGw,3968
|
2
|
-
FunctionGUI/__init__.py,sha256=QVxdhpXu8KTDl7ylSFkn7HucZiS2HHLoJSW4nPVPCtY,256
|
3
|
-
FunctionGUI-0.6.2.dist-info/METADATA,sha256=9DXQXpR5yO6KnpVpuwYR7ddAx44yNn70hTahO2P1qFc,1724
|
4
|
-
FunctionGUI-0.6.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
5
|
-
FunctionGUI-0.6.2.dist-info/top_level.txt,sha256=_gisKDTO1FqIkJYqH6X1ZrcA0ZvQdKnA_JhABqCSUFo,12
|
6
|
-
FunctionGUI-0.6.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|