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. If you are looking for a complete IDE, maybe Eric Python IDE, PyCharm, Code::Blocks or one of the many other IDE is the right tool.

News

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
2015‑12‑26
wxGlade 0.7.1 released.

The release is a major release with a lot of visible and invisible changes.

General changes:
  • Open wxGlade windows in the upper left corner if wxGlade is starting the first time
  • Change internal string handling to Unicode
  • Show logged exceptions in wxGlade bug dialog
  • Store generated source files in the selected encoding
  • Add support for 3-state checkboxes
  • Remove obsolete calls of wx.InitAllImageHandlers()
  • Catch and show early exceptions on Windows (Thanks to Tor Sjøwall)
  • Rework handling of event types for C++
  • Add support for events that are only supported by a specific wx version
  • Add styles to wxToggleButton
  • Don't rewrite unchanged files
  • Rework creation of wxBitmap code used by several widgets
  • New widgets CheckListBox, GenericCalendarCtrl and PropertyGridManager contributed by Franco Bugnano
  • Use defaults for missing application attributes in wxg files
Generated Code:
  • Remove obsolete wx.InitAllImageHandlers() calls from Python codegen
  • Add missing event types for event handling in C++
  • Event handler in C++ aren't virtual anymore
  • Add support for empty bitmaps and wxArtProvider
Bugs:
  • Fix Unicode error during saving wxg files
  • Create non-existing config directory during initialisation (sf bug #164)
  • Fix incorrect handling of styles only supported by a specific wx version
  • Fix error during preview of classed with custom names (sf bug #165)
  • Don't ignore disabled gettext support (Thanks to Udi Fuchs)
  • Fix UnicodeDecodeError when saving project using non ASCII characters in menu items (sf bug #166)
  • Unicode error during update of an existing source file (sf bug #167)
  • Fix unicode error during copying widgets to the clipboard
  • Fix Designer not displaying buttons two lines correctly (sf bug #169)
  • Fix generated code for wxListBox
  • Fix broken color selection dialog
  • Fix a string formatting error during creating the second instances of the same widget
  • Always show new widgets in the design window
  • Fix generated code for CustomWidget constructor (Thanks to Udi Fuchs)
  • Fix a infinite loop within sizing a widget (sf bug #170)
  • Fix binding of menu event in Perl
  • Fix root widget loses layout attributes during copy and paste
  • Load wxg files even if application attributes are missing
Deprecation:
  • In place modifications for generated source files will be removed in one of the next releases
Documentation:
  • Adapt and extend the documentation
2014‑10‑26
wxGlade 0.7.0 released. The details are listed below.
2014‑08‑31
News from next release:
The next release will be a major release. It will introduce the support for generating code for wxWidgets 3.0. But wxGlade will still not running with Python3.
General changes:
  • Disable old import style for wxPython 3.0
  • Add missing styles for wxNotebook (Thanks to Udi Fuchs)
  • Use Python logging facility instead of print statements
  • Rework quoting and escaping of special character sequences
  • Rework internal path handling
  • Write always an error log file
  • Improve widget import to be able to import widgets from ZIP files
  • Change configuration default to remember the position and geometry of the three main windows. This change effects fresh installations only.
  • adapt GUI to run with wxPython 2.6 till 3.0
  • Unify the code generation of widget specific code This change causes some minor changes in the generated code.
  • Add Lisp and Perl support for wxDatePickerCtrl
  • Disable Lisp for wx 3.0
Generated Code:
  • Use SetToolTip() instead of SetToolTipString() for wxPython 3.x
  • Use configurable indents instead of hard coded tabs in wxFrame code for Perl
Bugs:
  • Fix escape sequences in Unicode strings were escaped twice Perl and Python
  • Wrong Lisp statement in wxHyperlinkCtrl and wxFrame
  • Prevent code generation from a template file by commandline invocation
  • Fix bug in generation of valid hash keys for Perl
  • Fix various issues during transformation from XRC into wxGlade
  • Fix wrong conditions to generate application start code (sf bug #161)
  • Don't convert first char of a XRC extraproperty to upper case (sf bug #163)
API (for custom widgets):
  • Simplify signature of quote_str(), use quote_path() to quote / escape filenames or paths
Ongoing:
  • add support for wxWidgets 3.0
  • remove support for wxWidgets 2.6

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

License

wxGlade License Agreement.

Copyright (c) 2002-2007 Alberto Griggio

Copyright (c) 2011-2016 Carsten Grohmann

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.7.0, wxGlade requires wxPython >= 2.8 and Python >= 2.4 and <= 2.7.

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.

If you don't want to follow the list, you can reach me at Email address as picture: any kind of feedback is always welcome.

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
Wiki page on code organization
wxGlade manual (HTML)
wxGlade manual (PDF)
Flash live demo
Adding custom widgets
A much more comprehensive manual on custom widgets
Download
License
Mercurial Repository
Project page
Contacts
Mailing list
List archives
Links
Apps using wxGlade
wxPython
wxWidgets
Python
Glade
Alberto's Home Page
Other wx GUI builders
Boa Constructor
PythonCard
XRCed
VisualWx
wxDesigner (commercial)
DialogBlocks (commercial)
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!