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.3.0.tar.gz (3.4 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.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for functiongui-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e6499fc7068fe4f03cf9ef59984dc66add85928e1cbecd50120ee2e3439bbc51
MD5 a312316d54b5dc9c6581a14e2a0bc1d8
BLAKE2b-256 416032f4d34935a4554ba855ca8ce8ac73db5dc97d24a691fc3328af4dcaae9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FunctionGUI-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30808b2d67f9435ee922feb97fa0a5e03670fb669467a955e70603f938fce8e1
MD5 5a1baea76556e128ebbaba37137865ec
BLAKE2b-256 05b715ebbaeee869323e8f9c3961f6b9e28d34775b263a0098e8588c43760c9a

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