The cyberpunk default theme for Pyrustic Framework
Project description
Demo app without and with tk-cyberpunk-theme
Cyberpunk Theme
tk-cyberpunk-theme
is the default dark theme for Pyrustic Framework.
Installation
Available on PyPI:
pip install tk-cyberpunk-theme
Usage
With a pyrustic
powered project:
from pyrustic.app import App
from tk_cyberpunk_theme import Cyberpunk
from demo.view.main_view import MainView
def main():
# The App
app = App(__package__)
# Set theme
app.theme = Cyberpunk()
# Set view
app.view = MainView(app) # it could be a Tkinter object
# Center the window
app.center()
# Lift off !
app.start()
if __name__ == "__main__":
main()
With a basic Tkinter
project:
import tkinter as tk
from tk_cyberpunk_theme import Cyberpunk
# root
root = tk.Tk()
# apply the theme
theme = Cyberpunk()
theme.target(root)
# add widgets to root
button = tk.Button(root, text="Hello Friend !")
button.pack()
# and more...
# the main loop !
root.mainloop()
Create your own theme
A guide will be written soon. This is a work in progress. Bookmark this project and come later...
Desktop Apps Using tk-cyberpunk-theme As Base Theme
Learn more about these following desktop applications here !
Hubstore - To Connect Apps With Users
Jupitest - The Graphical Test Runner
Rustiql - The Graphical SQL Editor
Hubway - Release Your App To The World
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
Built Distribution
File details
Details for the file tk-cyberpunk-theme-0.0.5.tar.gz
.
File metadata
- Download URL: tk-cyberpunk-theme-0.0.5.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.9.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6824a9a2255016f6b0710e37ea9ec180fa09de217b20968426d675bf52d9ba9 |
|
MD5 | 0803a30a086ad3e0e7f45bd0c29110da |
|
BLAKE2b-256 | e416d29176e3aa47f775039bdf0935c4088afd5ab3ee9a77569b5787d25d87ce |
File details
Details for the file tk_cyberpunk_theme-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: tk_cyberpunk_theme-0.0.5-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.9.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c3804886e296c34cb1f9500522074ef319210752b6012a2b5f3f0716836dd6 |
|
MD5 | f245556b6ca6a1199f29067f90b5975d |
|
BLAKE2b-256 | bcb9a988c74c1f7f2219c0bc56307ae8f96ba0da792d9d68b9bcc55d4c996a01 |