Easy and Simple GUI Library
Project description
TkEasyGUI
TkEasyGUI
is a Python library that allows for the easy and simple creation of GUI applications.
In the event model, it is compatible with the well-known GUI library PySimpleGUI
.
Python's standard UI library Tkinter
, is often considered to have a high barrier to entry and to be difficult to use. By using this library, you can create GUI applications easily and intuitively.
Install
Install from pypi
python -m pip install tkeasygui
Install from GitHub Repository
python -m pip install git+https://github.com/kujirahand/tkeasygui-python
How to use
To create a simple window with only labels and buttons, you would write as follows:
import tkeasygui as eg
# Create window
layout = [
[eg.Text("Hello, World!")],
[eg.Button("OK")]
]
window = eg.Window("Hello", layout=layout)
# Event loop
while window.is_alive():
# get event
event, values = window.read()
# check event
if event == "OK":
eg.popup("Pushed OK Button")
break
window.close()
Samples
Documents
Regarding the relationship with PySimpleGUI
This was developed with reference to PySimpleGUI, but has been re-implemented from scratch. While its usage is similar to PySimpleGUI, it has been expanded with unique features.
Link
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for tkeasygui-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f1cf14c99fc440d6d55379182139e6a268ede63b2211b81fed8b3c99598e663 |
|
MD5 | ea79c0ccd97c5d42da8783d8a0afa4c8 |
|
BLAKE2b-256 | f1ed11a66d469cb4903c138699859b563235f793b1b419e0ab8e97323511cf8e |