wxGlade

User-friendly GUI builder for wxPython applications

Desktop License: MIT Best for: Visual builder for wxPython / wxWidgets
Official docs All frameworks

Demo

Drag-and-drop wxPython layouts

Overview

wxGlade is a graphical user interface builder specifically for wxPython, allowing developers to create wxPython GUIs quickly and easily. Using a simple drag-and-drop approach, wxGlade makes layout and GUI design efficient.

Key features

  • Drag-and-drop layout design interface
  • Support for all major wxWidgets components
  • Generates Python code for wxPython applications
  • Multi-platform support
  • Simple and intuitive user interface

Common use cases

  • Rapid GUI design for wxPython applications
  • Cross-platform desktop application development
  • Prototyping and layout visualization
  • Commercial and open-source software projects
  • Educational purposes for learning GUI development

Installation

pip install wxglade

Example

# Example wxGlade Usage in wxPython
import wx

class MyFrame(wx.Frame):
    def __init__(self, parent):
        wx.Frame.__init__(self, parent, id=wx.ID_ANY, title="Hello wxGlade")

        # Layout generated by wxGlade
        panel = wx.Panel(self, wx.ID_ANY)
        sizer = wx.BoxSizer(wx.VERTICAL)

        button = wx.Button(panel, wx.ID_ANY, "Click Me")
        sizer.Add(button, 0, wx.ALL, 5)

        panel.SetSizer(sizer)
        self.Layout()

if __name__ == "__main__":
    app = wx.App(False)
    frame = MyFrame(None)
    frame.Show()
    app.MainLoop()

Related frameworks