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!

A tkinter GUI builder.

Project Description

Pygubu is a RAD tool to enable quick & easy development of user interfaces for the python tkinter module.

The user interfaces designed are saved as XML, and by using the pygubu builder these can be loaded by applications dynamically as needed. Pygubu is inspired by Glade.

Installation

Pygubu requires python >= 2.7 (Tested only in python 2.7.3 and 3.2.3 with tk8.5)

Download and extract the tarball. Open a console in the extraction path and execute:

python setup.py install

Usage

Create an UI definition using pygubu and save it to a file. Then, create your aplication script as shown below:

#test.py
import tkinter as tk
import pygubu

class Application:
    def __init__(self, master):

        #1: Create a builder
        self.builder = builder = pugubu.Builder()

        #2: Load an ui file
        builder.add_from_file('test.ui')

        #3: Create the widget using a master as parent
        self.mainwindow = builder.get_object('mainwindow', master)

if __name__ == '__main__':
    root = tk.Tk()
    app = Application(root)
    root.mainloop()

See the examples directory or watch this hello world example on video http://youtu.be/wuzV9P8geDg

Release History

Release History

This version
History Node

0.9.8.1

History Node

0.9.8

History Node

0.9.7.9

History Node

0.9.7.8

History Node

0.9.7.7

History Node

0.9.7.6

History Node

0.9.7.3

History Node

0.9.7

History Node

0.9.6.9

History Node

0.9.6.8

History Node

0.9.6.7

History Node

0.9.6.6

History Node

0.9.6.5

History Node

0.9.6.4

History Node

0.9.6.3

History Node

0.9.6.2

History Node

0.9.5.1

History Node

0.9.5

History Node

0.9.4.5

History Node

0.9.4.4

History Node

0.9.4.1

History Node

0.9.4

History Node

0.9.2

History Node

0.9.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pygubu-0.9.8.1.tar.gz (121.9 kB) Copy SHA256 Checksum SHA256 Source Mar 26, 2017

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