FunctionGUI 0.1.0__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.
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI.egg-info/PKG-INFO +17 -5
- {functiongui-0.1.0 → functiongui-0.2.0}/PKG-INFO +17 -5
- {functiongui-0.1.0 → functiongui-0.2.0}/README.md +16 -4
- {functiongui-0.1.0 → functiongui-0.2.0}/setup.py +1 -1
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI/FunctionGUI.py +0 -0
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI/__init__.py +0 -0
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI.egg-info/SOURCES.txt +0 -0
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI.egg-info/dependency_links.txt +0 -0
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI.egg-info/requires.txt +0 -0
- {functiongui-0.1.0 → functiongui-0.2.0}/FunctionGUI.egg-info/top_level.txt +0 -0
- {functiongui-0.1.0 → functiongui-0.2.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: FunctionGUI
|
3
|
-
Version: 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
|
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
|
-
#
|
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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: FunctionGUI
|
3
|
-
Version: 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
|
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
|
-
#
|
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
|
@@ -35,13 +35,18 @@ fg.Title(root, "New Window")
|
|
35
35
|
# Create a custom font
|
36
36
|
custom_font = fg.Font(name='Helvetica', size=16, weight='bold')
|
37
37
|
|
38
|
-
# Create
|
38
|
+
# Create a label with the custom font
|
39
39
|
label = fg.Label(root, text="Hello, World!", font='Helvetica', size=16, color="blue")
|
40
40
|
|
41
|
-
# Create and place a button
|
42
|
-
button = fg.Button(root, text="Click Me", command=lambda: print("Button clicked!"))
|
43
41
|
|
44
|
-
#
|
42
|
+
# Add/pack a widget
|
43
|
+
fg.add(widget, padx = 10, pady = 10)
|
44
|
+
|
45
|
+
# Create and p
|
46
|
+
ChexBox(parent, text = 'check me', variable=None, command =lambda: print("Check Box")):
|
47
|
+
|
48
|
+
|
49
|
+
# Create an entry field
|
45
50
|
entry = fg.Entry(root, width=20, font="Helvetica", size=12, bg="white", fg="black", padx = 10, pady = 10)
|
46
51
|
|
47
52
|
# Retrieve and print the text from the entry field on button click
|
@@ -49,6 +54,13 @@ def on_button_click():
|
|
49
54
|
text = fg.GetEntry(entry)
|
50
55
|
print(text.get())
|
51
56
|
|
57
|
+
# Change the design of the app
|
58
|
+
style = fg.Design(theme)
|
59
|
+
|
60
|
+
# Boolean Variable (Use in checkboxes)
|
61
|
+
Boolean_Variable = BulleanVar()
|
62
|
+
|
63
|
+
# Add a Button
|
52
64
|
button = fg.Button(root, text="Print Entry", command=on_button_click)
|
53
65
|
|
54
66
|
# Set a background image
|
@@ -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.
|
5
|
+
version='0.2.0', # 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',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|