wxGlade manual

Marcello Semboli

Alberto Griggio

Carsten Grohmann


Table of Contents

Preface
Contacts
Copyrights and Trademarks
Abbreviations
1. Introduction to wxGlade
What is wxGlade?
What Can You Do with wxGlade?
What is wxGlade NOT?
Basics
Requirements and Supported Platforms
Download
Installation
Installing at Microsoft Windows
Installing at Unix/Linux
Installing from Source
2. Exploring wxGlade
Quick start
Basics of wxGlade
Best Practice
Language specific peculiarities
Python
Lisp
Command line invocation
Using the source code
Full control by wxGlade
Shared control
Output path and filenames
Automatically created wxApp instance
Compiling C++ code
Handling XRC files
Specifying the path of bitmaps
3. wxGlade User Interface
Main Palette
Tree Window
Design Window
Properties Window
Application Properties
Common Properties
Layout Properties
Widget Properties
Events Properties
Code Properties
Preferences Dialog
The wxGlade Menu
The FILE menu
The VIEW menu
The HELP menu
Shortcuts
4. Supported widgets
Introduction
Widget list
Frame
Dialog or Panel
Panel
Splitter window
Notebook
Button
Toggle button
Bitmap button
Text control
Spin control
Slider
Gauge
Static text
Check box
Radio button
Radio box
Choice
Combo Box
List Box
StaticLine
Static bitmap
List Control
Tree Control
Grid
Custom Widget
Spacer
5. Menu, Toolbar and Statusbar
Introduction
Menu
Toolbar
Statusbar
A. wxGlade License Agreement
B. Licenses and Acknowledgements for Incorporated Software
OrderedDict

List of Figures

1.1. wxGlade windows
3.1. The Main Palette
3.2. The Tree Window
3.3. The menu for a widget
3.4. The menu for a sizer
3.5. The Design Window
3.6. Project Properties - Application settings
3.7. Project Properties - Language settings
3.8. Common Properties
3.9. Changing Common Properties
3.10. Common Properties of a subclassed widget (default behaviour)
3.11. Common Properties with Base class(es) entry
3.12. Common Properties with a variable assignment
3.13. Layout Properties
3.14. Widget Properties
3.15. Events Properties
3.16. Events Properties with entered event handler name
3.17. Properties for extra code and extra properties
3.18. Set extra property

List of Examples

1.1. Installing wxGlade at /opt/wxglade
1.2. Starting wxGlade at /opt/wxglade/bin/wxglade
2.1. Correct entered wx constant
2.2. Detailed application start code in Perl
2.3. Simplified application start code in Perl
2.4. Compiling a single file C++ project on Linux
2.5. Compiling a multi file C++ project on Linux
2.6. Converting a XRC file into a wxGlade project
2.7. wxPython code to load and show a XRC resource
3.1. Generated Python code of a subclassed widget
3.2. Generated Python code of a widget with two base classes
3.3. Generated Python code for a variable assignment
3.4. Generated Python code of an EVT_TEXT event handler stub at line 12
3.5. Generated Python code for setting property MaxLength to 10 at line 14