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 a label with the custom font
label = fg.Label(root, text="Hello, World!", font='Helvetica', size=16, color="blue")


# Add/pack a widget
fg.add(widget, padx = 10, pady = 10)

# Create and p
ChexBox(parent, text = 'check me', variable=None, command =lambda: print("Check Box")):


# Create 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())

# Change the design of the app
style = fg.Design(theme)

# Boolean Variable (Use in checkboxes)
Boolean_Variable = BulleanVar()

# Add a Button 
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.2.0.tar.gz (3.2 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.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for functiongui-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b55ae796dbcf420ce21ad1737929af80ddd581e2249f9f3aa06bd256b8be8d91
MD5 9a1dc1aab090996ffdc35250cfb62242
BLAKE2b-256 37f7afe1387a53731f20fda72705b0d2f0009122d7e1db5110d25904439150a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FunctionGUI-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac0dbf77df84f187dbfea63933caebe40a44af242c14d9ef4b64a1397816ef4
MD5 29002da6a6b7be2cabcbb5e495d668c0
BLAKE2b-256 eca3cd620f1a0deda23d865a5a976c132ae10b10c642a103154de5f3264d4640

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