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
Close
Hashes for tk_cyberpunk_theme-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c3804886e296c34cb1f9500522074ef319210752b6012a2b5f3f0716836dd6 |
|
MD5 | f245556b6ca6a1199f29067f90b5975d |
|
BLAKE2b-256 | bcb9a988c74c1f7f2219c0bc56307ae8f96ba0da792d9d68b9bcc55d4c996a01 |