Skip to main content

The cyberpunk default theme for Pyrustic Framework

Project description

Cover

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

Hubstore - To Connect Apps With Users



Jupitest

Jupitest - The Graphical Test Runner



Rustiql

Rustiql - The Graphical SQL Editor



Hubway

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

tk-cyberpunk-theme-0.0.5.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

tk_cyberpunk_theme-0.0.5-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

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