Summarized Class List by Category
This page contains a summarized listing of classes, please see the Full Class List by Category page for a full listing.
The following are the most important window classes
; wxWindow: base class for all windows and controls
; wxControl: base class (mostly) for native controls/widgets
; wxPanel: window which can smartly manage child windows
; wxScrolledWindow: Window with automatically managed scrollbars (see wxScrolled)
; wxTopLevelWindow: Any top level window, dialog or frame Window Layout
There are two different systems for laying out windows (and dialogs in particular). One is based upon so-called sizers and it requires less typing, thinking and calculating and will in almost all cases produce dialogs looking equally well on all platforms, the other is based on so-called constraints and is deprecated, though still available.
Related Overviews: Sizers Overview
These are the classes relevant to sizer-based layout:
; wxSizer: Abstract base class
; wxBoxSizer: A sizer for laying out windows in a row or column
; wxGridSizer: A sizer for laying out windows in a grid with all fields having the same size
; wxFlexGridSizer: A sizer for laying out windows in a flexible grid
; wxGridBagSizer: Another grid sizer that lets you specify the cell an item is in, and items can span rows and/or columns.
; wxStaticBoxSizer: Same as wxBoxSizer, but with a surrounding static box
; wxWrapSizer: A sizer which wraps its child controls as size permits
Other layout classes:
; wxLayoutAlgorithm: An alternative window layout facility
There are several types of window that are directly controlled by the window manager (such as MS Windows, or the Motif Window Manager). Frames and dialogs are similar in wxWidgets, but only dialogs may be modal.
Related Overviews: Common Dialogs
; wxDialog: Dialog box
; wxFrame: Normal frame
; wxMDIChildFrame: MDI child frame
; wxMDIParentFrame: MDI parent frame
; wxMiniFrame: A frame with a small title bar
; wxPopupWindow: A toplevel window without decorations, e.g. for a combobox pop-up
; wxPropertySheetDialog: Property sheet dialog
; wxSplashScreen: Splash screen class
; wxTipWindow: Shows text in a small window
; wxWizard: A wizard dialog
; wxMenu: Displays a series of menu items for selection ; wxMenuBar: Contains a series of menus for use with a frame ; wxMenuItem: Represents a single menu item
Typically, these are small windows which provide interaction with the user. Controls that are not static can have wxValidator associated with them.
; wxAnimationCtrl: A control to display an animation ; wxControl: The base class for controls
; wxBitmapButton: Push button control, displaying a bitmap ; wxBitmapComboBox: A combobox with bitmaps next to text items
; wxBitmapToggleButton: A toggle button with bitmaps.
; wxButton: Push button control, displaying text
; wxCalendarCtrl: Control showing an entire calendar month
; wxCheckBox: Checkbox control
; wxCheckListBox: A listbox with a checkbox to the left of each item ; wxChoice: Choice control (a combobox without the editable area) ; wxCollapsiblePane: A panel which can be shown/hidden by the user ; wxComboBox: A choice with an editable area
; wxComboCtrl: A combobox with application defined popup
; wxDataViewCtrl: A control to display tabular or tree like data ; wxDataViewTreeCtrl: A specialized wxDataViewCtrl with a wxTreeCtrl-like API
; wxDataViewListCtrl: A specialized wxDataViewCtrl for displaying and editing simple tables. ; wxEditableListBox: A listbox with editable items.
; wxFileCtrl: A control for selecting a file. Useful for custom file dialogs. ; wxGauge: A control to represent a varying quantity, such as time remaining ; wxGenericDirCtrl: A control for displaying a directory tree
; wxGrid: A control to display spread-sheet like data in tabular form ; wxHeaderCtrl: a small control to display the top header of tabular data ; wxHtmlListBox: An abstract class for creating listboxes showing HTML content ; wxHyperlinkCtrl: A static text which opens an URL when clicked
; wxListBox: A list of strings for single or multiple selection ; wxListCtrl: A control for displaying lists of strings and/or icons, plus a multicolumn report view
; wxListView: A simpler interface (façade) for wxListCtrl in report mode
; wxNotebook: A notebook class
; wxOwnerDrawnComboBox: A combobox with owner-drawn list items
; wxPropertyGrid: A complex control to display hierachical, editable information
; wxRadioBox: A group of radio buttons
; wxRadioButton: A round button to be used with others in a mutually exclusive way ; wxRearrangeCtrl: A control allowing the user to rearrange a list of items. ; wxRichTextCtrl: Generic rich text editing control
; wxSimpleHtmlListBox: A listbox showing HTML content
; wxStaticBox: A static, or group box for visually grouping related controls ; wxScrollBar: Scrollbar control
; wxSearchCtrl: A text input control used to initiate a search
; wxSpinButton: A spin or `up-down' control
; wxSpinCtrl: A spin control - i.e. spin button and text control displaying an integer ; wxSpinCtrlDouble: A spin control - i.e. spin button and text control displaying a real number ; wxStaticText: One or more lines of non-editable text
; wxTextCtrl: Single or multiline text editing control
; wxToggleButton: A button which stays pressed when clicked by user. ; wxTreeCtrl: Tree (hierarchy) control
; wxStaticBitmap: A control to display a bitmap
; wxStyledTextCtrl: A wxWidgets implementation of the Scintilla source code editing component for plain text editing.
; wxSlider: A slider that can be dragged by the user
; wxVListBox: A listbox supporting variable height rows
These are the window validators, used for filtering and validating user input.
Related Overviews: wxValidator Overview
; wxValidator: Base validator class
; wxTextValidator: Text control validator class
; wxGenericValidator: Generic control validator class
A picker control is a control whose appearance and behaviour is highly platform-dependent.
; wxColourPickerCtrl: A control which allows the user to choose a colour
; wxDirPickerCtrl: A control which allows the user to choose a directory
; wxFilePickerCtrl: A control which allows the user to choose a file
; wxFontPickerCtrl: A control which allows the user to choose a font
; wxDatePickerCtrl: Small date picker control
The following are a variety of classes that are derived from wxWindow.
; wxCollapsiblePane: A panel which can be shown/hidden by the user
; wxPanel: A window whose colour changes according to current user settings
; wxScrolledWindow: Window with automatically managed scrollbars (see wxScrolled)
; wxHScrolledWindow: As wxScrolledWindow but supports columns of variable widths
; wxVScrolledWindow: As wxScrolledWindow but supports rows of variable heights
; wxHVScrolledWindow: As wxScrolledWindow but supports scroll units of variable sizes.
; wxGrid: A grid (table) window
; wxInfoBar: An information bar usually shown on top of the main window. ; wxSplitterWindow: Window which can be split vertically or horizontally ; wxStatusBar: Implements the status bar on a frame
; wxToolBar: Toolbar class
; wxNotebook: Notebook class
; wxListbook: Similar to notebook but using list control
; wxChoicebook: Similar to notebook but using choice control
; wxTreebook: Similar to notebook but using tree control
; wxSashWindow: Window with four optional sashes that can be dragged ; wxSashLayoutWindow: Window that can be involved in an IDE-like layout arrangement ; wxWizardPage: A base class for the page in wizard dialog.
; wxWizardPageSimple: A page in wizard dialog.
Window Docking (wxAUI)
wxAUI is a set classes for writing a customizable application interface with built-in docking, floatable panes and a flexible MDI-like interface.
Related Overviews: wxAUI Overview
; wxAuiManager: The central class for managing the interface
; wxAuiNotebook: A replacement notebook class with extra features ; wxAuiPaneInfo: Describes a single pane
; wxAuiDockArt: Art and metrics provider for customizing the docking user interface ; wxAuiTabArt: Art and metrics provider for customizing the notebook user interface
Common dialogs are ready-made dialog classes which are frequently used in an application.
Related Overviews: Common Dialogs
; wxDialog: Base class for common dialogs
; wxColourDialog: Colour chooser dialog
; wxDirDialog: Directory selector dialog
; wxFileDialog: File selector dialog
; wxFindReplaceDialog: Text search/replace dialog
; wxFontDialog: Font chooser dialog
; wxMessageDialog: Simple message box dialog
; wxMultiChoiceDialog: Dialog to get one or more selections from a list ; wxPageSetupDialog: Standard page setup dialog
; wxPasswordEntryDialog: Dialog to get a password from the user ; wxPrintDialog: Standard print dialog
; wxProgressDialog: Progress indication dialog
; wxRearrangeDialog: Dialog allowing the user to rearrange a list of items. ; wxRichTextFormattingDialog: A dialog for formatting the content of a wxRichTextCtrl
; wxRichMessageDialog: Nicer message box dialog
; wxSingleChoiceDialog: Dialog to get a single selection from a list and return the string
; wxSymbolPickerDialog: Symbol selector dialog
; wxTextEntryDialog: Dialog to get a single line of text from the user ; wxWizard: A wizard dialog.
wxWidgets provides a set of classes to display text in HTML format. These classes include a help system based on the HTML widget.
; wxHtmlHelpController: HTML help controller class
; wxHtmlWindow: HTML window class
; wxHtmlEasyPrinting: Simple class for printing HTML
; wxHtmlPrintout: Generic HTML wxPrintout class
; wxHtmlParser: Generic HTML parser class
; wxHtmlTagHandler: HTML tag handler, pluginable into wxHtmlParser
; wxHtmlWinParser: HTML parser class for wxHtmlWindow
; wxHtmlWinTagHandler: HTML tag handler, pluginable into wxHtmlWinParser
Device contexts are surfaces that may be drawn on, and provide an abstraction that allows parameterisation of your drawing code by passing different device
Related Overviews: Device Contexts
; wxAutoBufferedPaintDC: A helper device context for double buffered drawing inside OnPaint().
; wxBufferedDC: A helper device context for double buffered drawing.
; wxBufferedPaintDC: A helper device context for double buffered drawing inside OnPaint().
; wxClientDC: A device context to access the client area outside OnPaint() events
; wxPaintDC: A device context to access the client area inside OnPaint() events
; wxWindowDC: A device context to access the non-client area
; wxScreenDC: A device context to access the entire screen
; wxDC: The device context base class
; wxMemoryDC: A device context for drawing into bitmaps
; wxMetafileDC: A device context for drawing into metafiles
; wxMirrorDC: A proxy device context allowing for simple mirroring.
; wxPostScriptDC: A device context for drawing into PostScript files
; wxPrinterDC: A device context for drawing to printers
Graphics Context classes
These classes are related to drawing using a new vector based drawing API and are based on the modern drawing backend GDI+, CoreGraphics and Cairo.
; wxGraphicsRenderer: Represents a drawing engine.
; wxGraphicsContext: Represents a graphics context currently being drawn on.
; wxGraphicsBrush: Brush for drawing into a wxGraphicsContext
; wxGraphicsPen: Pen for drawing into a wxGraphicsContext
; wxGraphicsFont: Font for drawing text on a wxGraphicsContext
; wxGraphicsMatrix: Represents an affine matrix for drawing transformation
; wxGraphicsPath: Represents a path for drawing
Graphics Device Interface
These classes are related to drawing on device contexts and windows.