Metadata-Version: 2.4
Name: pygubu-designer
Version: 0.43.3
Summary: A simple GUI designer for the python tkinter module
Author-email: Alejandro Autalan <alejandroautalan@gmail.com>
License-Expression: GPL-3.0-only
Project-URL: Documentation, https://github.com/alejandroautalan/pygubu-designer#readme
Project-URL: Issues, https://github.com/alejandroautalan/pygubu-designer/issues
Project-URL: Source, https://github.com/alejandroautalan/pygubu-designer
Keywords: gui,tkinter,designer
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: User Interfaces
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.md
License-File: AUTHORS
Requires-Dist: backports.strenum; python_version < "3.11"
Requires-Dist: platformdirs>=4.4.0
Requires-Dist: Mako>=1.1.4
Requires-Dist: screeninfo>=0.8
Requires-Dist: autopep8>=1.7
Requires-Dist: blinker>=1.6
Requires-Dist: pygubu>=0.40
Provides-Extra: ttkwidgets
Requires-Dist: ttkwidgets; extra == "ttkwidgets"
Provides-Extra: tksheet
Requires-Dist: tksheet; extra == "tksheet"
Provides-Extra: tkinterweb
Requires-Dist: tkinterweb; extra == "tkinterweb"
Provides-Extra: tkintertable
Requires-Dist: tkintertable; extra == "tkintertable"
Provides-Extra: tkcalendar
Requires-Dist: tkcalendar; extra == "tkcalendar"
Provides-Extra: awesometkinter
Requires-Dist: AwesomeTkinter; extra == "awesometkinter"
Provides-Extra: customtkinter
Requires-Dist: customtkinter>=5.2.2; extra == "customtkinter"
Requires-Dist: packaging; extra == "customtkinter"
Requires-Dist: pillow; extra == "customtkinter"
Provides-Extra: tkintermapview
Requires-Dist: tkintermapview; extra == "tkintermapview"
Provides-Extra: all
Requires-Dist: AwesomeTkinter; extra == "all"
Requires-Dist: tkintertable; extra == "all"
Requires-Dist: tksheet; extra == "all"
Requires-Dist: ttkwidgets; extra == "all"
Requires-Dist: tkinterweb; extra == "all"
Requires-Dist: tkcalendar; extra == "all"
Requires-Dist: customtkinter>=5.2.2; extra == "all"
Requires-Dist: packaging; extra == "all"
Requires-Dist: pillow; extra == "all"
Requires-Dist: tkintermapview; extra == "all"
Dynamic: license-file


[Leer en Español](Documentation/README/es.md). More translations [here](Documentation/README)

Welcome to Pygubu Designer!
===========================

`Pygubu Designer` is a [RAD tool](https://en.wikipedia.org/wiki/Rapid_application_development) to enable _quick_ and _easy development of user interfaces_ for the Python's `tkinter` module.

The user interfaces designed are saved as [XML](https://en.wikipedia.org/wiki/XML) files, and, by using the _pygubu builder_, these can be loaded by applications dynamically as needed.

Pygubu Designer is inspired by [Glade](https://gitlab.gnome.org/GNOME/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](https://github.com/alejandroautalan/pygubu-designer/wiki/Installation-&-Related).


Screenshot
==========

<img src="pygubu-designer.png" alt="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](https://github.com/alejandroautalan/pygubu-designer/wiki/Launch).


Documentation
=============

Visit the [wiki](https://github.com/alejandroautalan/pygubu-designer/wiki) for
more documentation.


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

- [TkDocs](http://www.tkdocs.com)
- [Graphical User Interfaces with Tk](https://docs.python.org/3/library/tk.html)
- [Tkinter 8.5 reference: a GUI for Python](https://tkdocs.com/shipman)
- [An Introduction to Tkinter](http://effbot.org/tkinterbook) [(archive)](http://web.archive.org/web/20200504141939/http://www.effbot.org/tkinterbook)
- [Tcl/Tk 9.0 Manual](https://www.tcl-lang.org/man/tcl9.0/TkCmd/index.html)
- [Tcl/Tk 8.6 Manual](https://www.tcl-lang.org/man/tcl8.6/TkCmd/contents.htm)


You can also see the [examples](examples) directory or watch [this introductory video tutorial](http://youtu.be/wuzV9P8geDg).


History
=======

See the list of changes [here](HISTORY.md).


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.
