A Quick Guide to the Window Classes for wxWidgets
Base Window Classes
These base classes implement functionality for derived concrete classes.
-
WxWindow. The base class for all windows.
-
WxControl. The base class for controls, such as wxButton.
-
WxControlWithItems. The base class for multi-item controls.
Top-Level Windows
Top-level windows usually exist independently on the desktop.
-
WxFrame. A resizable window containing other windows.
-
WxMDIParentFrame. A frame that manages other frames.
-
WxMDIChildFrame. A frame managed by a parent frame.
-
WxDialog. A resizable window for presenting choices.
-
WxPopupWindow. A transient window with minimal decoration.
Container Windows
Container windows manage child windows.
-
WxPanel. A window for laying out controls.
-
WxNotebook. A window for switching pages using tabs.
-
WxScrolledWindow. A window that scrolls children and graphics.
-
WxSplitterWindow. A window that manages two child windows.
Non-Static Controls
These controls can be edited by the user.
-
WxButton. A push-button control with a text label.
-
WxBitmapButton. A push-button control with a bitmap label.
-
WxChoice. A drop-down list of choices.
-
WxComboBox. An editable field with a list of choices.
-
WxCheckBox. A control representing a check box, on or off.
-
WxListBox. A list of selectable string items.
-
WxRadioBox. A grid of radio buttons.
-
WxRadioButton. A control resembling a radio button, on or off.
-
WxScrollBar. A scrollbar control.
-
WxSpinButton. Arrows for incrementing / decrementing values.
-
WxSpinCtrl. A text field and spin button for editing integers.
-
WxSlider. A control for changing a value within a given range.
-
WxTextCtrl. A single-or multiple-line text entry field.
-
WxToggleButton. A button that can be toggled on and off.
Static Controls
These controls present information and cannot be edited by the user.
-
WxGauge. A control showing a quantity.
-
WxStaticText. A control that shows a text label.
-
WxStaticBitmap. A control that shows a bitmap label.
-
WxStaticLine. A control displaying a line.
-
WxStaticBox. A control displaying a box around other controls.
Menus
Menus are transient windows containing lists of commands.
-
WxMenu. A menu that can be used as a popup or in a menu bar.
Control Bars
Control bars present concise access to commands and information, usually within a wxFrame.
-
WxMenuBar. A menu bar that presents commands in a wxFrame.
-
WxToolBar. A toolbar that provides quick access to commands.
-
WxStatusBar. A status bar that shows information in multiple fields.
Tags: Classes






