Properties Window

The properties window lets you see and edit the properties that apply to the selected element. This window consists of three tabs. The first tab contains the common properties that apply to all widgets.

As shown in Figure 3.6 the common properties are related to name, size, colors and fonts.

The second tab is related to layout properties that control position and resizing within the sizer.

These properties apply to any widget. You can check or uncheck any option related to the placement in the sizer. Many widgets may have a default value of 3 in the "Border" property in the Preferences Dialog (see the section called “Preferences Dialog”). If you let a widget have a default border, the wxALL option is also checked.

The third tab, named “Widget,” is different for each widget, and lets you edit properties for the specific element you have selected.

The set of options may also be quite complex in the case of widgets that have a great deal of methods and properties (such as grids and treeviews). In this case, wxGlade greatly simplifies the process of designing forms.

You can show or hide the properties window by the menu item View->Show Properties (Ctrl-P).