Hackerakos library
Project description
Simple Tkinter
The Simple Tknter is a python package made to make the Tkinter simpler.
Installation
Use the package manager pip to install foobar.
pip install hackerakos
Usage
# Import the Simple Tkinter package
from hackerakos import *
# ----- Start the GUI's main loop -----
# winTitle=winTitle="Simple Tkinter" ---> Set the window name (default=Simple Tkinter)
# winSize="400x400" ---> Set the window size (default=400x400)
# winIcon="ico/myIco.ico" Set the window icon (default=ico/simple_tkinter.ico)
# boxing="place" ---> Set the boxing type for your GUI(default=pack)
loop_start(winTitle="Simple Tkinter", winSize="400x400", winIcon="ico/simple_tkinter.ico", boxing="place")
# ----- Add a some text to your window -----
# text="Hello World! 1" ---> Set the text for your label.
# x=0, y=0 ---> Set the cordinates of your label
# bg="#FF0000" ---> Set the backround color of your label to #FF0000 (red)
# tc="red" ---> Set the text color of your label to black
label(text="Hello World! 1", x=0, y=0, bc="#FF0000", tc="black")
label(text="Hello World! 2", x=0, y=30)
# ----- Colors -----
# You can select every color you want from a new window
# and the hex code of the selected color
# will be printed in the console
hex_colors_palette()
# You can see all the colors if you do not like hex codes
name_color_chart()
# Close the GUI's main loop
loop_close()
A Hello World Program
# Import the Simple Tkinter package
from hackerakos import *
# Start the GUI's main loop
loop_start()
# text="Hello World!" ---> Set the text for your label.
label(text="Hello World!")
# Close the GUI's main loop
loop_close()
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
hackerakos-0.0.2.tar.gz
(3.8 kB
view details)
Built Distribution
File details
Details for the file hackerakos-0.0.2.tar.gz
.
File metadata
- Download URL: hackerakos-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67be5cab9c306134cc1f842903e221e6ff5e9a7603da8b8795cbbe1f8d518ecf |
|
MD5 | 187797b898af5791e85dfa745dcc6a8d |
|
BLAKE2b-256 | 9c835d884c29258e38590546613be5027b0d2e66947411277e69769ae2ab74a8 |
File details
Details for the file hackerakos-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: hackerakos-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c853a6e47a0c8d139d459130c1da4af883af525fbfe13c2955b40cecb78847b6 |
|
MD5 | 3e68c4fd87025ef6a6b59fcd7002ac70 |
|
BLAKE2b-256 | 3fc3c0740000129cca55ade056c231fa4724875a6a1b0358d67eb627c47baa4d |