The DialogBlocks Sample Project

team bbl


If you open the sample "Acme" project, you can get a feel for how DialogBlocks works by navigating through the project. There are several top-level elements, including dialogs, a frame, and an application object. The latter generates the wxApp-derived class that is necessary for a wxWidgets application to compile and run. It's not essential to have this element in DialogBlocks if you are writing your application class by hand and are just using DialogBlocks to create visual elements.

If you click on a dialog element, the dialog editor will be shown, and you can click on either the dialog editor or the project tree to select controls and sizers within the dialog. A selected element is shown with a red outline, and its parent with a blue outline, to allow you to see the context of the element. Try double-clicking on a control: normally you will be shown an editor for the default property, for example a button label. Other properties can be edited via the property editor: scroll down and single-click on the value of the property you're interested in, or double-click to invoke a specialized editor such as a multiline text editor or color selector.

    team bbl



    Cross-Platform GUI Programming with wxWidgets
    Cross-Platform GUI Programming with wxWidgets
    ISBN: 0131473816
    EAN: 2147483647
    Year: 2005
    Pages: 262

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net