Skip to main content

A simple Tkinter GUI library with basic widgets and functionality.

Project description

FunctionGUI

FunctionGUI is a simple GUI library built using tkinter, designed to help you quickly create graphical user interfaces with ease.

Installation

To install FunctionGUI, you can simply use pip:

pip install functiongui
# FunctionGUI

FunctionGUI is a simple GUI library built using tkinter, designed to help you quickly create graphical user interfaces with ease. This library can currently complete the most basic tasks of Tkinter and does not contain much functionality, but will have more features in the future. 

## Installation

To install FunctionGUI, you can simply use pip:

```bash
pip install functiongui

Usage

import functiongui as fg

# Create a window
root = fg.Window()

# Set the title of the window
fg.Title(root, "New Window")

# Create a custom font
custom_font = fg.Font(name='Helvetica', size=16, weight='bold')

# Create and place a label with the custom font
label = fg.Label(root, text="Hello, World!", font='Helvetica', size=16, color="blue")

# Create and place a button
button = fg.Button(root, text="Click Me", command=lambda: print("Button clicked!"))

# Create and place an entry field
entry = fg.Entry(root, width=20, font="Helvetica", size=12, bg="white", fg="black", padx = 10, pady = 10)

# Retrieve and print the text from the entry field on button click
def on_button_click():
    text = fg.GetEntry(entry)
    print(text.get())

button = fg.Button(root, text="Print Entry", command=on_button_click)

# Set a background image
fg.BGImage(root, bg_image_path='path_to_image.jpg', width = 300, height = 600)

# Place a widget on a specific coordinate on the window
Place(button, 60, 100)

# Run the main loop
fg.Run(root)

Bugs

If you are finding bugs in the code, please report them to me @aaroh.charne@gmail.com. Please include a snippet of your code as well the problem. Thank You

Please check out my other Library Calclab @https://pypi.org/project/Calclab/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

functiongui-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FunctionGUI-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file functiongui-0.1.0.tar.gz.

File metadata

  • Download URL: functiongui-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for functiongui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fb3ebb34c7a0f59a9075f8fdef4e007fcbfbebb3689927a59f081c2ae5eb5c8
MD5 7756e2b5e5e2bf727fb604a552c5575e
BLAKE2b-256 8c4513de63407789752b3238024176abbce4500960d280a5c28e9d0aa7f9f653

See more details on using hashes here.

File details

Details for the file FunctionGUI-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: FunctionGUI-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for FunctionGUI-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c7ad0819ecd3c0eae21dd78e7aea529193fa44aa8093d6706339bac5bd3bc64
MD5 ba59e3c38e64027edb47e8d720f40ed1
BLAKE2b-256 333f3d594cae10f3f9f72d893e00244334c09e57c1034df2931147685f64dd7a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page