Follow the widget list as it appears in the wxGlade main window.
This prompts for a wxFrame
or a
wxMDIChildFrame
. A vertical
wxBoxSizer
is appended. In the properties
window you can choose the styles and you can add an icon.
This prompts for a wxDialog
or a
wxPanel
in top level. In the properties window
you can choose the styles and, for the dialog, you can add an
icon.
This produces a wxSplitterWindow
and two
associated panels as well. You can choose vertical or horizontal
splitting.
In the properties window you can choose the styles and the sash position.
Be careful not to put too large a widget in a splitter panel, because while it might appear normal in the design window, when you run your program one of two panels will take all the available space and the other will shrink to the minimum size possible.
This produces a wxNotebook
and one panel
for each tab.
In the properties window you can add and remove tabs, which appear in a list.
Don't forget to click on the “” button to transfer changes that you have made in the list to the design window.
This produces a wxButton
. You can enter
a caption and the “default” flag. If you want to add an
image you need a bitmap button (see the section called “Bitmap Button”).
This produces a wxBitmapButton
. You can
set the “default” flag on or off. You also can choose
the bitmap for the button and, optionally, the bitmap for the
disabled status. Refer to the section called “Specifying the path of bitmaps”
for bitmap path specifications.
This produces a wxRadioButton
. In the
properties window you can enter the text, and the status, clicked or
not, and the style.
This produces a wxHyperlinkCtrl
. In the
property window you can enter the label, the URL and also set the
style.
This produces a wxRadioBox
. In the
properties window you can enter the dimension. The style determines
whether the dimension is the number of rows or columns.
You also can set which button is selected with the “Selection” spin starting from 0. You can edit the list of choices, but remember to click on the “” button to consolidate changes.
This produces a wxSpinCtrl
. In the
properties window you can enter the value, the range and also set the
style.
This produces a wxSlider
. In the
properties window you can enter the value, the range and also set the
style.
This produces a wxStaticText
. In the
properties window you can enter the text, set the style and tell
wxGlade whether to store the control as an attribute.
This produces a wxTextCtrl
. In the
properties window you can enter the text and also set the
style.
This produces a wxCheckBox
. In the
properties window you can enter the text, and the status, checked or
not, of the button.
This produces a wxChoice
. In the
properties window you can enter the position of the selected item
starting from 0. You can edit the list of choices, but remember to
click on the “” button to
consolidate changes.
This produces a wxComboBox
. In the
properties window you can enter the position of the selected item
starting from 0. You can edit the list of choices, but remember to
click on the “” button to
consolidate changes.
This produces a wxListBox
. In the
properties window you can enter the position of the selected item
starting from 0. You can edit the list of choices, but remember to
click on the “” button to
consolidate changes.
This produces a vertical or horizontal
wxStaticLine
. In the properties window you can
tell wxGlade whether to store the object as an attribute of the frame
class.
This produces a wxStaticBitmap
. You will
be prompted for the bitmap path. Refer to the section called “Specifying the path of bitmaps” for bitmap path specifications. In
the properties window you can set the style and you can tell wxGlade
whether to store the object as an attribute of the frame class.
This produces a wxGrid
. In the properties
window you can set the style, the row number, the label size, the line
and background color and the selection mode. You can edit the list of
columns, but remember to click on the
“” button to consolidate
changes. Also you can choose to let wxGlade to create the grid or
leave it to the user code.
When you put a custom widget in the design window you will be
prompted for a class name. In the properties window you can set a
number of custom attributes that will appear in the constructor call.
These attributes have different effects in C++, Lisp, Perl, Python or
XRC code generation. Four special attributes $id
,
$parent
, $width
and
$height
return the value you specify in the
“Common” tab of the custom
widget.