This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

simple.gui - Simplified GUI generation using Tkinter

Project Description

About

simple is a simplified GUI generator using Tkinter.

Prerequisites

Python http://www.python.org

Installation

Unzip the file, then at the command line run

python setup.py install

Usage

>>> import simple.gui
>>> g = simple.gui.GUI()
>>> def buttoncallback():
...     g.status("Button klicked!")
>>> g.button("Klick me!", buttoncallback)
>>> g.button("Klick me too!", buttoncallback)
>>> def listboxcallback(text):
...     g.status("listbox select: '{0}'".format(text))
>>> g.listbox(["one", "two", "three"], listboxcallback)
>>> g.listbox(["A", "B", "C"], listboxcallback)
>>> def scalecallback(text):
...     g.status("scale value: '{0}'".format(text))
>>> g.scale("Scale me!", scalecallback)
>>> g.run()
>>>

Documentation

To read the API documentation, open a shell / DOS window, navigate to the simple directory, and run

pydoc simple

You can create a HTML version using

pydoc -w simple

License

simple is licensed under the GPL. See the file COPYING for details.

Author

Florian Berger

Release History

Release History

This version
History Node

0.1.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting