Skip to main content

Makes the Tkinter simpler

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 simtkinter

Usage

# Import the Simple Tkinter package
from simtkinter 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 simtkinter 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


Download files

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

Source Distribution

simtkinter-0.0.6.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

simtkinter-0.0.6-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file simtkinter-0.0.6.tar.gz.

File metadata

  • Download URL: simtkinter-0.0.6.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for simtkinter-0.0.6.tar.gz
Algorithm Hash digest
SHA256 988f8a5f30c8434ad1bff63179e9dcc30f1548c57932c71655b5aa3e777d1a6c
MD5 fc97ea3d748dd9b4f8aaaf65bdab5ac1
BLAKE2b-256 5db476f342aec591a1cbab282691e36bdbf8d01001976223103979df1453a9d8

See more details on using hashes here.

File details

Details for the file simtkinter-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: simtkinter-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for simtkinter-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f908c80610c4ce6cc7e725355f0683cd3681dce3040ad42396b4d6ca8feee7ec
MD5 0aa71d2ea5da54121cc6a50d2f6f8e9e
BLAKE2b-256 404bed9ce0cddb52e8e8bca18e17400400af03c8f2501f7b73d07561d7d9d17d

See more details on using hashes here.

Supported by

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