wxGlade - a GUI builder for wxWidgets

Description

wxGlade is a GUI designer written in Python with the popular GUI toolkit wxPython, that helps you create wxWidgets/wxPython user interfaces. At the moment it can generate Python, C++, Perl, Lisp and XRC (wxWidgets' XML resources) code.

As you can guess by the name, its model is Glade, the famous GTK+/GNOME GUI builder, with which wxGlade shares the philosophy and the look & feel (but not a line of code).

It is not (and will never be) a full featured IDE, but simply a "designer": the generated code does nothing apart from displaying the created widgets. Usually, you will use it together with a complete IDE, like Wing IDE, PyCharm, Code::Blocks or one of the many other IDEs.

News

2017‑10‑09
wxGlade 0.8.0a2 uploaded.

This is an alpha release. The previous release 0.7.2 is quite outdated, so 0.8.0a... is the prefered download. Please download from the project download page.

General changes:
  • support for wxPython Phoenix and Python 3
  • full visualization of sizer slots; full editing capability in Tree window (structure, names, labels)
  • support for GridBagSizer
  • Repeat feature (Ctrl-R and Ctrl-Y) to apply property change(s) to multiple widgets
  • new Menu and Toolbar editors
  • Redesigned palette window
Internal:
  • very major refactoring of property handling, code generation and sizers
  • reformatted code and comments to be more compact
  • always use DestroyLater to avoid crashes
  • less redundant calls to widget.Show() to reduce display errors
  • better handling of size changes due to fonts
  • Disable autosave functionality permanently after saving has failed
  • refactored testing
Generated Code:
  • bind menu handlers without the need for user-defined IDs
  • default file encoding is now UTF-8
Bugs:
  • many bug fixes
Documentation:
  • new tutorial
2016‑06‑22
wxGlade repository has moved to another location inside Bitbucket

All repositories used around wxGlade have been consolidated below https://bitbucket.org/wxglade.
2016‑03‑05
wxGlade 0.7.2 released.

The release is a bug-fix-only release.

General changes:
  • Remove usage of KDE file dialog
  • Improve reporting of early error messages on Windows
Generated Code:
  • Inline wxStaticBox statement into wxStaticBoxSizer statement
  • Use wxWindowID instead of int for widget identifiers in C++
  • Add support for wxArtProvider to XRC code generator
  • Don't set the default value for redirection in wx.PySimpleApp()
Bugs:
  • Fix wrong orientation of wxStaticLine widgets
  • Fix NameError exception during inserting a sizer slot
  • Fix ZeroDevisionError during adding a new column to a wxFlexGridSizer with only one row
  • Fix WindowsError is the backup file already exists (Thanks to Graeme Glenn)
  • Fix black window bug on Windows
  • Fix PyDeadObjectError during closing wxGlade
  • Fix usage of wx.NullIcon for Perl and Python
  • Fix main file is generated without custom extensions (sf bug #179)
  • Fix wrong CreateStatusBar statement if styles are selected
  • Add missing wxStatusBar style wxST_SIZEGRIP
  • Fix generated code for wxDatePickerCtrl
  • Add workaround for missing wxDefaultDateTime in wxPerl
Deprecation:
  • In place modifications for generated source files will be removed in one of the next releases
Documentation:
  • Reorganise and update the documentation

Screenshots

Main windows
Tree of widgets
Property window
A sample session
A sample dialog

A couple of good looking windows: a clone of the "PPP connection" dialog of Windows, and a frame with notebook, menubar and statusbar.

Finally, the Python, C++ (.h and .cpp) and XRC code of the ppp connection dialog.

Documentation

The documentation will be updated soon.
  • The new tutorial (very rough at the moment).
  • Outdated: A wiki page at wxPython.org which deals with code organizazion for wxGlade apps.
  • Outdated: A little Demo+Howto on adding custom widgets, by Kevin Dahlhausen.

License

wxGlade License Agreement.

Copyright (c) 2002-2007 Alberto Griggio

Copyright (c) 2011-2016 Carsten Grohmann

Copyright (c) 2017 Dietmar Schwertberger

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download

You can download files from the sourceforge project page.

Starting from version 0.8.0, wxGlade requires wxPython >= 2.8 and Python >= 2.7. The recommendation is to use Python 3.5 or 3.6 and wxPython revision 4.0.0.

Contacts

There's a mailing list to discuss about the project here.
Now the list is available also through Gmane, at gmane.comp.python.wxglade.

We're looking for projects using wxGlade: if you have one and want it to be listed here, tell us! This will be really appreciated.


Contents Description
News
Screenshots
Documentation
Tutorial
Download
License
Mercurial Repository
Project page
Contacts
Mailing list
List archives
Links
Apps using wxGlade
wxPython
wxWidgets
Python
Glade
Alberto's Home Page
Get wxGlade at SourceForge.net. Fast, secure and Free Open Source software downloads Python Powered Built with wxWidgets Built with wxPython Graphics by the GIMP Valid XHTML 1.0!