Skip to main content

Minimalist non blocking control panel for parameters

Project description

minitk

Minimalist non blocking control panel for parameters

Installation

sudo apt install python3-tk
pip install minitk

Usage

Here is a simple example:

import minitk

def say_hello():
    print('hello')

control_panel = minitk.ControlPanel()
control_panel.create_button('Say hello', say_hello)
control_panel.create_check_button('Status')
control_panel.create_slider('Value', 0, 10)
control_panel.create_menu('Options', ['a', 'b', 'c'])

while True:
    control_panel.update()

More examples are available under examples/

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

minitk-0.9.1.tar.gz (4.1 kB view hashes)

Uploaded Source

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