Skip to main content

A simple GUI designer for the python tkinter module

Reason this release was yanked:

Missing config option at start error.

Project description

Leer en Español. More translations here

Welcome to Pygubu Designer!

Pygubu Designer is a RAD tool to enable quick and easy development of user interfaces for the Python's tkinter module.

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

Pygubu Designer is inspired by Glade.

Installation

The latest version of pygubu requires Python >= 3.9

You can install pygubu-designer using pip:

pip install pygubu-designer

For other installation methods, please see this page.

Screenshot

pygubu-desinger.png

Usage

Pygubu designer supports two types of workflow. The first and classic method is creating an application that uses the "*.ui" file that defines your user interface.

In the classic mode, pygubu is in charge of creating the widgets and connecting defined bindings. I recommend this mode for apps that have one or a few windows, but you can use it for creating apps of any complexity (Pygubu Designer it self was created with this mode, but now uses the new one). This method uses a class based approach where your code lives in the derived class and the base class is updated by pygubu designer.

The second method is to create an app with a coded version of the *.ui file. Using the same class based approach mentioned above, pygubu designer generates the python code for the base class and you write the app logic in the derived class.

Generating the code for the UI has some benefits:

  • The *.ui file is not required at runtime
  • Allows you to create pure tkinter apps, if you do not use any pygubu widget (eliminating pygubu dependency).
  • Easy creation of custom widgets.

Whichever you choose, you can always modify the user interface using pygubu designer.

Starting Pygubu Designer

Type on the terminal one of the following commands depending on your system.

Unix-like systems

pygubu-designer

For other platforms see this page.

Documentation

Visit the wiki for more documentation.

The following are some good tkinter (and tk) references:

You can also see the examples directory or watch this introductory video tutorial.

History

See the list of changes here.

License

Pygubu Designer: GPL-3.0 license

Pygubu Designer can generate pure python code scripts. For those cases where a license is required for these scripts, they are licensed under the same license as the pygubu core: MIT License. This applies to all standard plugins that come with pygubu core. If you're using a third-party plugin, check the plugin license.

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

pygubu_designer-0.44.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygubu_designer-0.44-py3-none-any.whl (735.0 kB view details)

Uploaded Python 3

File details

Details for the file pygubu_designer-0.44.tar.gz.

File metadata

  • Download URL: pygubu_designer-0.44.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pygubu_designer-0.44.tar.gz
Algorithm Hash digest
SHA256 5286774b362c9fee21950f0667cc52b6817b8aba1c3a474c56ef55709c68be01
MD5 87d91b057dfee5b65a397662411df79d
BLAKE2b-256 3d5b802a0e1d9a30e873065574c67a0c10527645bd983e60092cc89ffc85d4f8

See more details on using hashes here.

File details

Details for the file pygubu_designer-0.44-py3-none-any.whl.

File metadata

  • Download URL: pygubu_designer-0.44-py3-none-any.whl
  • Upload date:
  • Size: 735.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pygubu_designer-0.44-py3-none-any.whl
Algorithm Hash digest
SHA256 a52a380214c3c7bb81d09431b777309a5399a5cb778b9688c3f881db3485f6df
MD5 ac6bd374250520d2444fc6aec34dff2e
BLAKE2b-256 f0bb34938b48756bb748192555219ba383a7c460034edc4b2abbf1b4a8f78ff5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page