Welcome to the wxSmith tutorials page! wxSmith combines with Code::Blocks, wxWidgets and a C++ compiler to give you a WYSIWYG way to create applications with a graphical user interface (GUI). The combination forms a tool for Rapid Application Development (RAD) that works on Linux, Mac OS X and Windows. As you work, you see on the screen the forms you are designing; and they look to you just like they will look to the user of your program.
The tutorials assume no prior knowledge of Code::Blocks or wxWidgets and are, in fact, good tutorials for learning them also. They do assume a basic acquaintance with C++ to recognize what you are looking at in code snippets that form part of the tutorials.
Moreover, wxSmith knows a lot about all the major wxWidgets components – buttons, check boxes, radio buttons, drop-down lists and so on. When you have selected and “dropped” one on your form, the wxSmith property browser shows you all the component's properties and lets you modify them. It can also show all the events a component can produce and, on a quick mouse click, will set up the framework for you to code your program's response to the event.
Although wxSmith is strictly speaking a plugin to Code::Blocks, that fact is a technicality important only to writers of the program. The user, however, downloads, installs, and uses one program. As a user, it will look to you like wxSmith is just a part of Code:Blocks.
Our tutorials will start from the very basics and work up to some fairly tricky but very useful techniques.
Here is a list of the tutorials. You may click on one to jump to it, but they are definitely cumulative, and you should work through them in order.
- Tutorial 1: Hello world
- Tutorial 2: Working with items
- Tutorial 3: Building more complex window
- Tutorial 4: Working with multiple resources
- Tutorial 5: Using wxPanel resources
- Tutorial 6: Accessing items in resource
- Tutorial 7: Creating items with custom paint and mouse handling
- Tutorial 8: Drawing on the Screen and Saving Drawings
- Tutorial 9: Keyboard Input and Displaying Results
- See also: wxSmith extensions