Skip to main content
pip install splashscreen_ctk


Create a splash screen for a software, typically developed in custom tkinter.

--------------------------------------------------
import splashscreen_ctk as splash
import threading, time


def do_jobs():
set_splash_text(f"Doing something...")
start_thread(do_something, "Hello,", "world")

set_splash_text(f"Doing something else...")
start_thread(do_something_else, "Goodbye,", "world!")

set_splash_text("Loading complete!")
test.close_splashscreen = True


def start_thread(target, *args):
# Use threading for complicated actions that would freeze tkinter / cause not responding warning.
loading_thread = threading.Thread(target=target, args=[arg for arg in args])
loading_thread.start()
while loading_thread.is_alive():
time.sleep(1)


def do_something(text1, text2):
print(text1, text2)
time.sleep(5)


def do_something_else(text1, text2):
print(text1, text2)
time.sleep(5)


def set_splash_text(text):
# Note changes to splash text will not work if called from any other thread than main thread.
test.splash_status_text.set(text)
test.update()


test = splash.SplashScreen("path_to_image.jpg", # Can be any image file type that works with PILLOW / CTkImage, or bytes with io.BytesIO
initial_status_value="Loading...",
app_info="Your Application v1.0.0",
app_info_font=("helvetica", 36),
app_info_text_color="#333333",
status_font=("helvetica", 18),
status_text_colour="#222222")

test.after(5, do_jobs)
test.mainloop()
--------------------------------------------------

OS independant
Python 3

install requires:
- customtkinter 0.3, url: https://pypi.org/project/customtkinter/0.3/, url: https://customtkinter.tomschimansky.com/

--------------------------------------------------

GitHub url: https://github.com/DevDolphin7/SplashScreen
PyPI url: https://pypi.org/project/splashscreen_ctk/
Get in contact: DevDolphin7@outlook.com

Release files for splashscreen-ctk 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for splashscreen-ctk 0.2.2
File Size Uploaded
splashscreen_ctk-0.2.2.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for splashscreen-ctk 0.2.2
File Interpreter ABI Platform
splashscreen_ctk-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 33.4 kB

Release files / splashscreen_ctk-0.2.2.tar.gz

Download URL splashscreen_ctk-0.2.2.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7f93bb69fbc2905f7587d96d92fa7d156a0706c3a087243e02fa8f871867aa19
BLAKE2b-256 checksum
How to use checksums
bfc2ef3be1e80091a1a85d0dd9c8392c626e768d05f5a63fdbd04d71cc79f4f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.6

Release files / splashscreen_ctk-0.2.2-py3-none-any.whl

Download URL splashscreen_ctk-0.2.2-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
727a76657ff22cbd88bcddb451b683673e8d56299d714149e77600d345227435
BLAKE2b-256 checksum
How to use checksums
b71512d712606beff920d8f557c0b333dbcf78919172660bed036a5cd226d09f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page