FunctionGUI 0.6.2__tar.gz → 0.6.4__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.
@@ -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="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)
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FunctionGUI
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: A simple Tkinter GUI library with basic widgets and functionality.
5
5
  Home-page: https://github.com/aa425/FunctionGUI
6
6
  Author: Aaroh Charne
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FunctionGUI
3
- Version: 0.6.2
3
+ Version: 0.6.4
4
4
  Summary: A simple Tkinter GUI library with basic widgets and functionality.
5
5
  Home-page: https://github.com/aa425/FunctionGUI
6
6
  Author: Aaroh Charne
@@ -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.2', # Start with an initial version
5
+ version='0.6.4', # 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