FunctionGUI 0.6.1__tar.gz → 0.6.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.
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI/FunctionGUI.py +8 -7
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI/__init__.py +2 -1
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI.egg-info/PKG-INFO +1 -1
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/PKG-INFO +1 -1
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/setup.py +2 -1
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI.egg-info/SOURCES.txt +0 -0
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI.egg-info/dependency_links.txt +0 -0
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI.egg-info/requires.txt +0 -0
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/FunctionGUI.egg-info/top_level.txt +0 -0
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/README.md +0 -0
- {FunctionGUI-0.6.1 → FunctionGUI-0.6.3}/setup.cfg +0 -0
@@ -21,16 +21,21 @@ 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, text="Default Text", font="Helvetica", size=12, color="black", wraplenght=2):
|
25
|
-
label = ttk.Label(parent, text=text, font = (font, size), foreground = color, wraplength=wraplenght
|
24
|
+
def Label(parent, textvariabl, text="Default Text", font="Helvetica", size=12, color="black", wraplenght=2):
|
25
|
+
label = ttk.Label(parent, text=text, font = (font, size), foreground = color, wraplength=wraplenght, textvariable=textvariabl)
|
26
26
|
return label
|
27
27
|
|
28
|
+
|
29
|
+
|
28
30
|
def Place(widget, x, y):
|
29
31
|
widget.place(x=x, y=y)
|
30
32
|
|
31
33
|
def Font(name = 'arial', size = 20, weight = "bold"):
|
32
34
|
font = tkfont.Font(name = name, size = size, weight = weight)
|
33
35
|
return font
|
36
|
+
def StrVar(master, string):
|
37
|
+
v = tk.StringVar(master, string)
|
38
|
+
return v
|
34
39
|
|
35
40
|
def OpenFile(title):
|
36
41
|
file_path = filedialog.askopenfilename(title="Select a file")
|
@@ -64,7 +69,7 @@ def Entry(parent, width=20, font="Helvetica", size=12, bg="white", fg="black"):
|
|
64
69
|
|
65
70
|
def GetEntry(entry):
|
66
71
|
d = entry.get()
|
67
|
-
return
|
72
|
+
return d
|
68
73
|
|
69
74
|
def Design(theme):
|
70
75
|
style = Style(theme=theme)
|
@@ -97,9 +102,5 @@ def Entry(parent, width=20, font="Helvetica", size=12, bg="white", fg="black", p
|
|
97
102
|
entry.pack(padx=padx, pady=pady)
|
98
103
|
return entry
|
99
104
|
|
100
|
-
def GetEntry(entry):
|
101
|
-
d = entry.get()
|
102
|
-
return entry
|
103
|
-
|
104
105
|
def Run(window):
|
105
106
|
window.mainloop()
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
2
2
|
|
3
3
|
setup(
|
4
4
|
name='FunctionGUI', # Replace with your library name
|
5
|
-
version='0.6.
|
5
|
+
version='0.6.3', # Start with an initial version
|
6
6
|
description='A simple Tkinter GUI library with basic widgets and functionality.',
|
7
7
|
long_description=open('README.md').read(), # Make sure you have a README.md file
|
8
8
|
long_description_content_type='text/markdown',
|
@@ -15,6 +15,7 @@ setup(
|
|
15
15
|
'ttkbootstrap'
|
16
16
|
],
|
17
17
|
classifiers=[
|
18
|
+
|
18
19
|
'Programming Language :: Python :: 3',
|
19
20
|
'License :: OSI Approved :: MIT License',
|
20
21
|
'Operating System :: OS Independent',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|