FunctionGUI 0.1.0__py3-none-any.whl → 0.2.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: FunctionGUI
3
- Version: 0.1.0
3
+ Version: 0.2.0
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
@@ -53,13 +53,18 @@ fg.Title(root, "New Window")
53
53
  # Create a custom font
54
54
  custom_font = fg.Font(name='Helvetica', size=16, weight='bold')
55
55
 
56
- # Create and place a label with the custom font
56
+ # Create a label with the custom font
57
57
  label = fg.Label(root, text="Hello, World!", font='Helvetica', size=16, color="blue")
58
58
 
59
- # Create and place a button
60
- button = fg.Button(root, text="Click Me", command=lambda: print("Button clicked!"))
61
59
 
62
- # Create and place an entry field
60
+ # Add/pack a widget
61
+ fg.add(widget, padx = 10, pady = 10)
62
+
63
+ # Create and p
64
+ ChexBox(parent, text = 'check me', variable=None, command =lambda: print("Check Box")):
65
+
66
+
67
+ # Create an entry field
63
68
  entry = fg.Entry(root, width=20, font="Helvetica", size=12, bg="white", fg="black", padx = 10, pady = 10)
64
69
 
65
70
  # Retrieve and print the text from the entry field on button click
@@ -67,6 +72,13 @@ def on_button_click():
67
72
  text = fg.GetEntry(entry)
68
73
  print(text.get())
69
74
 
75
+ # Change the design of the app
76
+ style = fg.Design(theme)
77
+
78
+ # Boolean Variable (Use in checkboxes)
79
+ Boolean_Variable = BulleanVar()
80
+
81
+ # Add a Button
70
82
  button = fg.Button(root, text="Print Entry", command=on_button_click)
71
83
 
72
84
  # Set a background image
@@ -0,0 +1,6 @@
1
+ FunctionGUI/FunctionGUI.py,sha256=iqHp_vPGsVlO1fgTCvAdrcSNHcQNaXZKG8sQTph4NA4,1804
2
+ FunctionGUI/__init__.py,sha256=AaP8wV9VTCZQnkjCjNKd8vQdLquGJUxW1SM554vOh1M,171
3
+ FunctionGUI-0.2.0.dist-info/METADATA,sha256=eXaJ6e8gu66NGiYjQFov50gVrW2gsT2s-Erwh-1bKSE,2913
4
+ FunctionGUI-0.2.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
5
+ FunctionGUI-0.2.0.dist-info/top_level.txt,sha256=_gisKDTO1FqIkJYqH6X1ZrcA0ZvQdKnA_JhABqCSUFo,12
6
+ FunctionGUI-0.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.0.4)
2
+ Generator: setuptools (71.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,6 +0,0 @@
1
- FunctionGUI/FunctionGUI.py,sha256=iqHp_vPGsVlO1fgTCvAdrcSNHcQNaXZKG8sQTph4NA4,1804
2
- FunctionGUI/__init__.py,sha256=AaP8wV9VTCZQnkjCjNKd8vQdLquGJUxW1SM554vOh1M,171
3
- FunctionGUI-0.1.0.dist-info/METADATA,sha256=lUVX7KbEFOc3nEAddEx6F8ApypliG6KBe-hgIcwi0sE,2725
4
- FunctionGUI-0.1.0.dist-info/WHEEL,sha256=rWxmBtp7hEUqVLOnTaDOPpR-cZpCDkzhhcBce-Zyd5k,91
5
- FunctionGUI-0.1.0.dist-info/top_level.txt,sha256=_gisKDTO1FqIkJYqH6X1ZrcA0ZvQdKnA_JhABqCSUFo,12
6
- FunctionGUI-0.1.0.dist-info/RECORD,,