Crate wxrust

Source
Expand description

§wx(wxrust)

This crate is a binding to the wxCore library of the wxWidgets toolkit.

This crate is wxrust not wx in crates.io as the name is already in use.

It is recommended to specify dependency to this library with renaming like this:

[dependencies]
wx = { version = "0.0.*", package = "wxrust" }

§Example

#![windows_subsystem = "windows"]

use wx;
use wx::methods::*;

fn main() {
    wx::App::run(|_| {
        let frame = wx::Frame::builder(wx::Window::none())
            .title("Hello, 世界")
            .build();
        let button = wx::Button::builder(Some(&frame)).label("Greet").build();
        let i = 3;
        println!("i={}", i);
        let weak_button = button.to_weak_ref();
        button.bind(wx::RustEvent::Button, move |_: &wx::CommandEvent| {
            if let Some(button) = weak_button.get() {
                println!("i={}", i);
                button.set_label("clicked");
                println!("s={}", button.get_label())
            }
        });
        frame.centre(wx::BOTH);
        frame.show(true);
    });
}

Re-exports§

pub use wx_base::*;

Modules§

methods

Structs§

AboutDialogInfoIsOwned
wxAboutDialogInfo contains information shown in the standard About dialog displayed by the wxAboutBox() function.
AcceleratorEntryIsOwned
An object used by an application wishing to create an accelerator table (see wxAcceleratorTable).
AcceleratorTableIsOwned
An accelerator table allows the application to specify a table of keyboard shortcuts for menu or button commands.
ActivateEventIsOwned
An activate event is sent when a window or application is being activated or deactivated.
AffineMatrix2DBaseIsOwned
A 2x3 matrix representing an affine 2D transformation.
AffineMatrix2DIsOwned
A 3x2 matrix representing an affine 2D transformation.
AnimationCtrlIsOwned
This is a static control which displays an animation.
AnyButtonIsOwned
A class for common button functionality used as the base for the various button classes.
ArtProviderIsOwned
wxArtProvider class is used to customize the look of wxWidgets application.
AutoBufferedPaintDCIsOwned
This wxDC derivative can be used inside of an EVT_PAINT() event handler to achieve double-buffered drawing.
BannerWindowIsOwned
A simple banner window showing either a bitmap or text.
BitmapBundleIsOwned
Contains representations of the same bitmap in different resolutions.
BitmapButtonBuilder
BitmapButtonIsOwned
A bitmap button is a control that contains a bitmap.
BitmapComboBoxIsOwned
A combobox that displays bitmap in front of the list items.
BitmapDataObjectIsOwned
wxBitmapDataObject is a specialization of wxDataObject for bitmap data.
BitmapHandlerIsOwned
This is the base class for implementing bitmap file loading/saving, and bitmap creation from data.
BitmapIsOwned
This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or colour with alpha channel support.
BitmapToggleButtonBuilder
BitmapToggleButtonIsOwned
wxBitmapToggleButton is a wxToggleButton that contains a bitmap instead of text.
BookCtrlBaseIsOwned
A book control is a convenient way of displaying multiple pages of information, displayed one page at a time.
BookCtrlEventIsOwned
This class represents the events generated by book controls (wxNotebook, wxListbook, wxChoicebook, wxTreebook, wxAuiNotebook).
BoxSizerIsOwned
The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic geometry, typically in a row or a column or several hierarchies of either.
BrushIsOwned
A brush is a drawing tool for filling in areas.
BrushListIsOwned
A brush list is a list containing all brushes which have been created.
BufferedDCIsOwned
This class provides a simple way to avoid flicker: when drawing on it, everything is in fact first drawn on an in-memory buffer (a wxBitmap) and then copied to the screen, using the associated wxDC, only once, when this object is destroyed.
BufferedPaintDCIsOwned
This is a subclass of wxBufferedDC which can be used inside of an EVT_PAINT() event handler to achieve double-buffered drawing.
BusyCursorIsOwned
This class makes it easy to tell your user that the program is temporarily busy.
BusyInfoIsOwned
This class makes it easy to tell your user that the program is temporarily busy.
ButtonBuilder
ButtonIsOwned
A button is a control that contains a text string, and is one of the most common elements of a GUI.
CalculateLayoutEventIsOwned
This event is sent by wxLayoutAlgorithm to calculate the amount of the remaining client area that the window should occupy.
CalendarCtrlIsOwned
The calendar control allows the user to pick a date.
CalendarDateAttrIsOwned
wxCalendarDateAttr is a custom attributes for a calendar date.
CalendarEventIsOwned
The wxCalendarEvent class is used together with wxCalendarCtrl.
CaretIsOwned
A caret is a blinking cursor showing the position where the typed text will appear.
CheckBoxBuilder
CheckBoxIsOwned
A checkbox is a labelled box which by default is either on (checkmark is visible) or off (no checkmark).
CheckListBoxBuilder
CheckListBoxIsOwned
A wxCheckListBox is like a wxListBox, but allows items to be checked or unchecked.
ChildFocusEventIsOwned
A child focus event is sent to a (parent-)window when one of its child windows gains focus, so that the window could restore the focus back to its corresponding child if it loses it now and regains later.
ChoiceBuilder
ChoiceIsOwned
A choice item is used to select one of a list of strings.
ChoicebookIsOwned
wxChoicebook is a class similar to wxNotebook, but uses a wxChoice control to show the labels instead of the tabs.
ClientDCIsOwned
wxClientDC is primarily useful for obtaining information about the window from outside EVT_PAINT() handler.
ClipboardIsOwned
A class for manipulating the clipboard.
ClipboardTextEventIsOwned
This class represents the events generated by a control (typically a wxTextCtrl but other windows can generate these events as well) when its content gets copied or cut to, or pasted from the clipboard.
CloseEventIsOwned
This event class contains information about window and session close events.
CollapsiblePaneEventIsOwned
This event class is used for the events generated by wxCollapsiblePane.
CollapsiblePaneIsOwned
A collapsible pane is a container with an embedded button-like control which can be used by the user to collapse or expand the pane’s contents.
ColourDataIsOwned
This class holds a variety of information related to colour dialogs.
ColourDatabaseIsOwned
wxWidgets maintains a database of standard RGB colours for a predefined set of named colours.
ColourDialogIsOwned
This class represents the colour chooser dialog.
ColourIsOwned
A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values and an Alpha value, and is used to determine drawing colours.
ColourPickerCtrlBuilder
ColourPickerCtrlIsOwned
This control allows the user to select a colour.
ColourPickerEventIsOwned
This event class is used for the events generated by wxColourPickerCtrl.
ComboBoxBuilder
ComboBoxIsOwned
A combobox is like a combination of an edit control and a listbox.
ComboCtrlIsOwned
A combo control is a generic combobox that allows totally custom popup.
ComboPopupIsOwned
In order to use a custom popup with wxComboCtrl, an interface class must be derived from wxComboPopup.
CommandEventIsOwned
This event class contains information about command events, which originate from a variety of simple controls.
CommandIsOwned
wxCommand is a base class for modelling an application command, which is an action usually performed by selecting a menu item, pressing a toolbar button or any other means provided by the application to change the data or view.
CommandLinkButtonIsOwned
Objects of this class are similar in appearance to the normal wxButtons but are similar to the links in a web page in functionality.
CommandProcessorIsOwned
wxCommandProcessor is a class that maintains a history of wxCommands, with undo/redo functionality built-in.
ContextMenuEventIsOwned
This class is used for context menu events, sent to give the application a chance to show a context (popup) menu for a wxWindow.
ControlIsOwned
This is the base class for a control or “widget”.
ControlWithItemsIsOwned
This is convenience class that derives from both wxControl and wxItemContainer.
CursorIsOwned
A cursor is a small bitmap usually used for denoting where the mouse pointer is, with a picture that might indicate the interpretation of a mouse click.
CustomDataObjectIsOwned
wxCustomDataObject is a specialization of wxDataObjectSimple for some application-specific data in arbitrary (either custom or one of the standard ones).
DCBrushChangerIsOwned
wxDCBrushChanger is a small helper class for setting a brush on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DCClipperIsOwned
wxDCClipper is a helper class for setting a clipping region on a wxDC during its lifetime.
DCFontChangerIsOwned
wxDCFontChanger is a small helper class for setting a font on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DCIsOwned
A wxDC is a “device context” onto which graphics and text can be drawn.
DCOverlayIsOwned
Connects an overlay with a drawing DC.
DCPenChangerIsOwned
wxDCPenChanger is a small helper class for setting a pen on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DCTextColourChangerIsOwned
wxDCTextColourChanger is a small helper class for setting a foreground text colour on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DataFormatIsOwned
A wxDataFormat is an encapsulation of a platform-specific format handle which is used by the system for the clipboard and drag and drop operations.
DataObjectCompositeIsOwned
wxDataObjectComposite is the simplest wxDataObject derivation which may be used to support multiple formats.
DataObjectIsOwned
A wxDataObject represents data that can be copied to or from the clipboard, or dragged and dropped.
DataObjectSimpleIsOwned
This is the simplest possible implementation of the wxDataObject class.
DataViewBitmapRendererIsOwned
This class is used by wxDataViewCtrl to render bitmaps.
DataViewChoiceByIndexRendererIsOwned
A wxDataViewCtrl renderer using wxChoice control and indexes into it.
DataViewChoiceRendererIsOwned
A wxDataViewCtrl renderer using wxChoice control and values of strings in it.
DataViewColumnIsOwned
This class represents a column in a wxDataViewCtrl.
DataViewCtrlIsOwned
wxDataViewCtrl is a control to display data either in a tree like fashion or in a tabular form or both.
DataViewCustomRendererIsOwned
You need to derive a new class from wxDataViewCustomRenderer in order to write a new renderer.
DataViewDateRendererIsOwned
This class is used by wxDataViewCtrl to render calendar controls.
DataViewEventIsOwned
This is the event class for the wxDataViewCtrl notifications.
DataViewIconTextIsOwned
wxDataViewIconText is used by wxDataViewIconTextRenderer for data transfer.
DataViewIconTextRendererIsOwned
The wxDataViewIconTextRenderer class is used to display text with a small icon next to it as it is typically done in a file manager.
DataViewIndexListModelIsOwned
wxDataViewIndexListModel is a specialized data model which lets you address an item by its position (row) rather than its wxDataViewItem (which you can obtain from this class).
DataViewItemAttrIsOwned
This class is used to indicate to a wxDataViewCtrl that a certain item (see wxDataViewItem) has extra font attributes for its renderer.
DataViewItemIsOwned
wxDataViewItem is a small opaque class that represents an item in a wxDataViewCtrl in a persistent way, i.e.
DataViewListCtrlIsOwned
This class is a wxDataViewCtrl which internally uses a wxDataViewListStore and forwards most of its API to that class.
DataViewListModelIsOwned
Base class with abstract API for wxDataViewIndexListModel and wxDataViewVirtualListModel.
DataViewListStoreIsOwned
wxDataViewListStore is a specialised wxDataViewModel for storing a simple table of data.
DataViewModelIsOwned
wxDataViewModel is the base class for all data model to be displayed by a wxDataViewCtrl.
DataViewModelNotifierIsOwned
A wxDataViewModelNotifier instance is owned by a wxDataViewModel and mirrors its notification interface.
DataViewProgressRendererIsOwned
This class is used by wxDataViewCtrl to render progress bars.
DataViewRendererIsOwned
This class is used by wxDataViewCtrl to render the individual cells.
DataViewSpinRendererIsOwned
This is a specialized renderer for rendering integer values.
DataViewTextRendererIsOwned
wxDataViewTextRenderer is used for rendering text.
DataViewToggleRendererIsOwned
This class is used by wxDataViewCtrl to render toggle controls.
DataViewTreeCtrlIsOwned
This class is a wxDataViewCtrl which internally uses a wxDataViewTreeStore and forwards most of its API to that class.
DataViewTreeStoreIsOwned
wxDataViewTreeStore is a specialised wxDataViewModel for storing simple trees very much like wxTreeCtrl does and it offers a similar API.
DataViewVirtualListModelIsOwned
wxDataViewVirtualListModel is a specialized data model which lets you address an item by its position (row) rather than its wxDataViewItem and as such offers the exact same interface as wxDataViewIndexListModel.
DateEventIsOwned
This event class holds information about a date change and is used together with wxDatePickerCtrl.
DatePickerCtrlBuilder
DatePickerCtrlIsOwned
This control allows the user to select a date.
DelegateRendererNativeIsOwned
wxDelegateRendererNative allows reuse of renderers code by forwarding all the wxRendererNative methods to the given object and thus allowing you to only modify some of its methods without having to reimplement all of them.
DialogIsOwned
A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the screen.
DialogLayoutAdapterIsOwned
This abstract class is the base for classes that help wxWidgets perform run-time layout adaptation of dialogs.
DirDialogIsOwned
This class represents the directory chooser dialog.
DirPickerCtrlBuilder
DirPickerCtrlIsOwned
This control allows the user to select a directory.
DisplayChangedEventIsOwned
A display changed event is sent to top-level windows when the display resolution has changed.
DisplayIsOwned
Determines the sizes and locations of displays connected to the system.
DragImageIsOwned
This class is used when you wish to drag an object on the screen, and a simple cursor is not enough.
DropFilesEventIsOwned
This class is used for drop files events, that is, when files have been dropped onto the window.
DropSourceIsOwned
This class represents a source for a drag and drop operation.
DropTargetIsOwned
This class represents a target for a drag and drop operation.
EditableListBoxBuilder
EditableListBoxIsOwned
An editable listbox is composite control that lets the user easily enter, delete and reorder a list of strings.
EraseEventIsOwned
An erase event is sent when a window’s background needs to be repainted.
EventBlockerIsOwned
This class is a special event handler which allows discarding any event (or a set of event types) directed to a specific window.
FileCtrlBuilder
FileCtrlEventIsOwned
A file control event holds information about events associated with wxFileCtrl objects.
FileCtrlIsOwned
This control allows the user to select a file.
FileDataObjectIsOwned
wxFileDataObject is a specialization of wxDataObject for file names.
FileDialogIsOwned
This class represents the file chooser dialog.
FileDirPickerEventIsOwned
This event class is used for the events generated by wxFilePickerCtrl and by wxDirPickerCtrl.
FileDropTargetIsOwned
This is a drop target which accepts files (dragged from File Manager or Explorer).
FileHistoryIsOwned
The wxFileHistory encapsulates a user interface convenience, the list of most recently visited files as shown on a menu (usually the File menu).
FilePickerCtrlBuilder
FilePickerCtrlIsOwned
This control allows the user to select a file.
FindDialogEventIsOwned
wxFindReplaceDialog events.
FindReplaceDataIsOwned
wxFindReplaceData holds the data for wxFindReplaceDialog.
FindReplaceDialogIsOwned
wxFindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else).
FlexGridSizerIsOwned
A flex grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields in one row having the same height and all fields in one column having the same width, but all rows or all columns are not necessarily the same height or width as in the wxGridSizer.
FocusEventIsOwned
A focus event is sent when a window’s focus changes.
FontDataIsOwned
This class holds a variety of information related to font dialogs.
FontDialogIsOwned
This class represents the font chooser dialog.
FontEnumeratorIsOwned
wxFontEnumerator enumerates either all available fonts on the system or only the ones with given attributes - either only fixed-width (suited for use in programs such as terminal emulators and the like) or the fonts available in the given encoding).
FontIsOwned
A font is an object which determines the appearance of text.
FontListIsOwned
A font list is a list containing all fonts which have been created.
FontMapperIsOwned
wxFontMapper manages user-definable correspondence between logical font names and the fonts present on the machine.
FontPickerCtrlBuilder
FontPickerCtrlIsOwned
This control allows the user to select a font.
FontPickerEventIsOwned
This event class is used for the events generated by wxFontPickerCtrl.
FrameBuilder
FrameIsOwned
A frame is a window whose size and position can (usually) be changed by the user.
GBPositionIsOwned
This class represents the position of an item in a virtual grid of rows and columns managed by a wxGridBagSizer.
GBSizerItemIsOwned
The wxGBSizerItem class is used by the wxGridBagSizer for tracking the items in the sizer.
GBSpanIsOwned
This class is used to hold the row and column spanning attributes of items in a wxGridBagSizer.
GCDCIsOwned
wxGCDC is a device context that draws on a wxGraphicsContext.
GDIObjectIsOwned
This class allows platforms to implement functionality to optimise GDI objects, such as wxPen, wxBrush and wxFont.
GIFHandlerIsOwned
This is the image handler for the GIF format.
GaugeBuilder
GaugeIsOwned
A gauge is a horizontal or vertical bar which shows a quantity (often time).
GenericAboutDialogIsOwned
This class defines a customizable About dialog.
GenericDirCtrlBuilder
GenericDirCtrlIsOwned
This control can be used to place a directory listing (with optional files) on an arbitrary window.
GenericProgressDialogIsOwned
This class represents a dialog that shows a short message and a progress bar.
GenericValidatorIsOwned
wxGenericValidator performs data transfer (but not validation or filtering) for many type of controls.
GraphicsBrushIsOwned
A wxGraphicsBrush is a native representation of a brush.
GraphicsContextIsOwned
A wxGraphicsContext instance is the object that is drawn upon.
GraphicsFontIsOwned
A wxGraphicsFont is a native representation of a font.
GraphicsGradientStopIsOwned
Represents a single gradient stop in a collection of gradient stops as represented by wxGraphicsGradientStops.
GraphicsGradientStopsIsOwned
Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and CreateRadialGradientBrush.
GraphicsMatrixIsOwned
A wxGraphicsMatrix is a native representation of an affine matrix.
GraphicsObjectIsOwned
This class is the superclass of native graphics objects like pens etc.
GraphicsPathIsOwned
A wxGraphicsPath is a native representation of a geometric path.
GraphicsPenIsOwned
A wxGraphicsPen is a native representation of a pen.
GraphicsRendererIsOwned
A wxGraphicsRenderer is the instance corresponding to the rendering engine used.
GridBagSizerIsOwned
A wxSizer that can lay out items in a virtual grid like a wxFlexGridSizer but in this case explicit positioning of the items is allowed using wxGBPosition, and items can optionally span more than one row and/or column using wxGBSpan.
GridEditorCreatedEventIsOwned
GridEditorCreatedEvent represents a C++ wxGridEditorCreatedEvent class instance which your code has ownership, GridEditorCreatedEventIsOwned<false> represents one which don’t own.Use GridEditorCreatedEvent’s new() or Buildable::builder() (if available) to create an instance of this class.See C++ wxGridEditorCreatedEvent class’s documentation for more details.
GridEventIsOwned
This event class contains information about various grid events.
GridRangeSelectEventIsOwned
Events of this class notify about a range of cells being selected.
GridSizeEventIsOwned
This event class contains information about a row/column resize event.
GridSizerIsOwned
A grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields having the same size, i.e.
GridTableBaseIsOwned
The almost abstract base class for grid tables.
GridUpdateLockerIsOwned
This small class can be used to prevent wxGrid from redrawing during its lifetime by calling wxGrid::BeginBatch() in its constructor and wxGrid::EndBatch() in its destructor.
HScrolledWindowIsOwned
In the name of this class, “H” stands for “horizontal” because it can be used for scrolling columns of variable widths.
HTMLDataObjectIsOwned
wxHTMLDataObject is used for working with HTML-formatted text.
HVScrolledWindowIsOwned
This window inherits all functionality of both vertical and horizontal, variable scrolled windows.
HeaderColumnIsOwned
Represents a column header in controls displaying tabular data such as wxDataViewCtrl or wxGrid.
HeaderColumnSimpleIsOwned
Simple container for the information about the column.
HeaderCtrlEventIsOwned
Event class representing the events generated by wxHeaderCtrl.
HeaderCtrlIsOwned
wxHeaderCtrl is the control containing the column headings which is usually used for display of tabular data.
HeaderCtrlSimpleBuilder
HeaderCtrlSimpleIsOwned
wxHeaderCtrlSimple is a concrete header control which can be used directly, without inheriting from it as you need to do when using wxHeaderCtrl itself.
HelpEventIsOwned
A help event is sent when the user has requested context-sensitive help.
HyperlinkCtrlBuilder
HyperlinkCtrlIsOwned
This class shows a static text element which links to an URL.
HyperlinkEventIsOwned
This event class is used for the events generated by wxHyperlinkCtrl.
IconBundleIsOwned
This class contains multiple copies of an icon in different sizes.
IconIsOwned
An icon is a small rectangular bitmap usually used for denoting a minimized application.
IconizeEventIsOwned
An event being sent when the frame is iconized (minimized) or restored.
IdManagerIsOwned
wxIdManager is responsible for allocating and releasing window IDs.
ImageHandlerIsOwned
This is the base class for implementing image file loading/saving, and image creation from data.
ImageIsOwned
This class encapsulates a platform-independent image.
ImageListIsOwned
A wxImageList contains a list of images, which are stored in an unspecified form.
InfoBarIsOwned
An info bar is a transient window shown at top or bottom of its parent window to display non-critical information to the user.
InitDialogEventIsOwned
A wxInitDialogEvent is sent as a dialog or panel is being initialised.
ItemContainerImmutableIsOwned
wxItemContainer defines an interface which is implemented by all controls which have string subitems each of which may be selected.
ItemContainerIsOwned
This class is an abstract base class for some wxWidgets controls which contain several items such as wxListBox, wxCheckListBox, wxComboBox or wxChoice.
JPEGHandlerIsOwned
This is the image handler for the JPEG format.
JoystickEventIsOwned
This event class contains information about joystick events, particularly events received by windows.
KeyEventIsOwned
This event class contains information about key press and release events.
LayoutAlgorithmIsOwned
wxLayoutAlgorithm implements layout of subwindows in MDI or SDI frames.
ListBoxBuilder
ListBoxIsOwned
A listbox is used to select one or more of a list of strings.
ListCtrlIsOwned
A list control presents lists in a number of formats: list view, report view, icon view and small icon view.
ListEventIsOwned
A list event holds information about events associated with wxListCtrl objects.
ListItemIsOwned
This class stores information about a wxListCtrl item or column.
ListViewIsOwned
This class currently simply presents a simpler to use interface for the wxListCtrl it can be thought of as a façade for that complicated class.
ListbookIsOwned
wxListbook is a class similar to wxNotebook but which uses a wxListCtrl to show the labels instead of the tabs.
MaskIsOwned
This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.
MaximizeEventIsOwned
An event being sent when a top level window is maximized.
MemoryDCIsOwned
A memory device context provides a means to draw graphics onto a bitmap.
MenuBarIsOwned
A menu bar is a series of menus accessible from the top of a frame.
MenuEventIsOwned
This class is used for a variety of menu-related events.
MenuIsOwned
A menu is a popup (or pull down) list of items, one of which may be selected before the menu goes away (clicking elsewhere dismisses the menu).
MenuItemIsOwned
A menu item represents an item in a menu.
MessageDialogIsOwned
This class represents a dialog that shows a single or multi-line message, with a choice of OK, Yes, No and Cancel buttons.
MessageOutputMessageBoxIsOwned
Output messages by showing them in a message box.
MiniFrameIsOwned
A miniframe is a frame with a small title bar.
MirrorDCIsOwned
wxMirrorDC is a simple wrapper class which is always associated with a real wxDC object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges x and y coordinates which makes it possible to reuse the same code to draw a figure and its mirror i.e.
MouseCaptureChangedEventIsOwned
A mouse capture changed event is sent to a window that loses its mouse capture.
MouseCaptureLostEventIsOwned
A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequently lost due to an “external” event (for example, when a dialog box is shown or if another application captures the mouse).
MouseEventIsOwned
This event class contains information about the events generated by the mouse: they include mouse buttons press and release events and mouse move events.
MouseEventsManagerIsOwned
Helper for handling mouse input events in windows containing multiple items.
MoveEventIsOwned
A move event holds information about window position change.
NativeFontInfoIsOwned
wxNativeFontInfo is platform-specific font representation: this class should be considered as an opaque font description only used by the native functions, the user code can only get the objects of this type from somewhere and pass it somewhere else (possibly save them somewhere using ToString() and restore them using FromString())
NavigationKeyEventIsOwned
This event class contains information about navigation events, generated by navigation keys such as tab and page down.
NonOwnedWindowIsOwned
Common base class for all non-child windows.
NotebookBuilder
NotebookIsOwned
This class represents a notebook control, which manages multiple windows with associated tabs.
NotificationMessageIsOwned
This class allows showing the user a message non intrusively.
NotifyEventIsOwned
This class is not used by the event handlers by itself, but is a base class for other event classes (such as wxBookCtrlEvent).
NumberEntryDialogIsOwned
This class represents a dialog that requests a numeric input from the user.
OverlayIsOwned
Creates an overlay over an existing window, allowing for manipulations like rubberbanding, etc.
OwnerDrawnComboBoxIsOwned
wxOwnerDrawnComboBox is a combobox with owner-drawn list items.
PCXHandlerIsOwned
This is the image handler for the PCX format.
PNGHandlerIsOwned
This is the image handler for the PNG format.
PNMHandlerIsOwned
This is the image handler for the PNM format.
PaintDCIsOwned
A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from within an EVT_PAINT() event handler.
PaintEventIsOwned
A paint event is sent when a window’s contents needs to be repainted.
PaletteIsOwned
A palette is a table that maps pixel values to RGB colours.
PanelBuilder
PanelIsOwned
A panel is a window on which controls are placed.
PasswordEntryDialogIsOwned
This class represents a dialog that requests a one-line password string from the user.
PenIsOwned
A pen is a drawing tool for drawing outlines.
PenListIsOwned
There is only one instance of this class: wxThePenList.
PersistenceManagerIsOwned
Provides support for automatically saving and restoring object properties to persistent storage.
PickerBaseIsOwned
Base abstract class for all pickers which support an auxiliary text control.
PointIsOwned
A wxPoint is a useful data structure for graphics operations.
PopupTransientWindowIsOwned
A wxPopupWindow which disappears automatically when the user clicks mouse outside it or if it loses focus in any other way.
PopupWindowIsOwned
A special kind of top level window used for popup menus, combobox popups and such.
PreferencesEditorIsOwned
Manage preferences dialog.
PreferencesPageIsOwned
One page of preferences dialog.
PropertySheetDialogIsOwned
This class represents a property sheet dialog: a tabbed dialog for showing settings.
QuantizeIsOwned
Performs quantization, or colour reduction, on a wxImage.
QueryLayoutInfoEventIsOwned
This event is sent when wxLayoutAlgorithm wishes to get the size, orientation and alignment of a window.
RadioBoxBuilder
RadioBoxIsOwned
A radio box item is used to select one of number of mutually exclusive choices.
RadioButtonIsOwned
A radio button item is a button which usually denotes one of several mutually exclusive options.
RealPointIsOwned
A wxRealPoint is a useful data structure for graphics operations.
RearrangeCtrlIsOwned
A composite control containing a wxRearrangeList and the buttons allowing to move the items in it.
RearrangeDialogIsOwned
A dialog allowing the user to rearrange the specified items.
RearrangeListIsOwned
A listbox-like control allowing the user to rearrange the items and to enable or disable them.
RectIsOwned
Represents a rectangle with integer coordinates.
RegionIsOwned
A wxRegion represents a simple or complex region on a device context or window.
RegionIteratorIsOwned
This class is used to iterate through the rectangles in a region, typically when examining the damaged regions of a window within an OnPaint call.
RendererNativeIsOwned
First, a brief introduction to wxRendererNative and why it is needed.
RichToolTipIsOwned
Allows showing a tool tip with more customizations than wxToolTip.
SVGFileDCIsOwned
A wxSVGFileDC is a device context onto which graphics and text can be drawn, and the output produced as a vector file, in SVG format.
SashEventIsOwned
A sash event is sent when the sash of a wxSashWindow has been dragged by the user.
SashLayoutWindowIsOwned
wxSashLayoutWindow responds to OnCalculateLayout events generated by wxLayoutAlgorithm.
SashWindowIsOwned
wxSashWindow allows any of its edges to have a sash which can be dragged to resize the window.
ScreenDCIsOwned
A wxScreenDC can be used to paint on the screen.
ScrollBarIsOwned
A wxScrollBar is a control that represents a horizontal or vertical scrollbar.
ScrollEventIsOwned
A scroll event holds information about events sent from stand-alone scrollbars (see wxScrollBar) and sliders (see wxSlider).
ScrollWinEventIsOwned
A scroll event holds information about events sent from scrolling windows.
SearchCtrlBuilder
SearchCtrlIsOwned
A search control is a composite control with a search button, a text control, and a cancel button.
SetCursorEventIsOwned
A wxSetCursorEvent is generated from wxWindow when the mouse cursor is about to be set as a result of mouse motion.
SettableHeaderColumnIsOwned
Adds methods to set the column attributes to wxHeaderColumn.
ShowEventIsOwned
An event being sent when the window is shown or hidden.
SimplebookIsOwned
wxSimplebook is a control showing exactly one of its several pages.
SizeEventIsOwned
A size event holds information about size change events of wxWindow.
SizeIsOwned
A wxSize is a useful data structure for graphics operations.
SizerFlagsIsOwned
Container for sizer items flags providing readable names for them.
SizerIsOwned
wxSizer is the abstract base class used for laying out subwindows in a window.
SizerItemIsOwned
The wxSizerItem class is used to track the position, size and other attributes of each item managed by a wxSizer.
SizerItemListIsOwned
SliderBuilder
SliderIsOwned
A slider is a control with a handle which can be pulled back and forth to change the value.
SpinButtonBuilder
SpinButtonIsOwned
A wxSpinButton has two small up and down (or left and right) arrow buttons.
SpinCtrlBuilder
SpinCtrlDoubleBuilder
SpinCtrlDoubleIsOwned
wxSpinCtrlDouble combines wxTextCtrl and wxSpinButton in one control and displays a real number.
SpinCtrlIsOwned
wxSpinCtrl combines wxTextCtrl and wxSpinButton in one control.
SpinDoubleEventIsOwned
This event class is used for the events generated by wxSpinCtrlDouble.
SpinEventIsOwned
This event class is used for the events generated by wxSpinButton and wxSpinCtrl.
SplashScreenIsOwned
wxSplashScreen shows a window with a thin border, displaying a bitmap describing your application.
SplitterEventIsOwned
This class represents the events generated by a splitter control.
SplitterWindowIsOwned
This class manages up to two subwindows.
StaticBitmapIsOwned
A static bitmap control displays a bitmap.
StaticBoxBuilder
StaticBoxIsOwned
A static box is a rectangle drawn around other windows to denote a logical grouping of items.
StaticBoxSizerIsOwned
wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer.
StaticLineIsOwned
A static line is just a line which may be used in a dialog to separate the groups of controls.
StaticTextBuilder
StaticTextIsOwned
A static text control displays one or more lines of read-only text.
StatusBarIsOwned
A status bar is a narrow window that can be placed along the bottom of a frame to give small amounts of status information.
StatusBarPaneIsOwned
A status bar pane data container used by wxStatusBar.
StdDialogButtonSizerIsOwned
This class creates button layouts which conform to the standard button spacing and ordering defined by the platform or toolkit’s user interface guidelines (if such things exist).
StockPreferencesPageIsOwned
Specialization of wxPreferencesPage useful for certain commonly used preferences page.
SysColourChangedEventIsOwned
This class is used for system colour change events, which are generated when the user changes the colour settings or when the system theme changes (e.g.
SystemSettingsIsOwned
wxSystemSettings allows the application to ask for details about the system.
TGAHandlerIsOwned
This is the image handler for the TGA format.
TIFFHandlerIsOwned
This is the image handler for the TIFF format.
TaskBarIconEventIsOwned
The event class used by wxTaskBarIcon.
TaskBarIconIsOwned
This class represents a taskbar icon.
TextAttrIsOwned
wxTextAttr represents the character and paragraph attributes, or style, for a range of text in a wxTextCtrl or wxRichTextCtrl.
TextCtrlBuilder
TextCtrlIsOwned
A text control allows text to be displayed and edited.
TextDataObjectIsOwned
wxTextDataObject is a specialization of wxDataObjectSimple for text data.
TextDropTargetIsOwned
A predefined drop target for dealing with text data.
TextEntryDialogIsOwned
This class represents a dialog that requests a one-line text string from the user.
TextEntryIsOwned
Common base class for single line text entry fields.
TextValidatorIsOwned
wxTextValidator validates text controls, providing a variety of filtering behaviours.
ThreadEventIsOwned
This class adds some simple functionality to wxEvent to facilitate inter-thread communication.
TimePickerCtrlBuilder
TimePickerCtrlIsOwned
This control allows the user to enter time.
TipProviderIsOwned
This is the class used together with wxShowTip() function.
TipWindowIsOwned
Shows simple text in a popup tip window on creation.
ToggleButtonBuilder
ToggleButtonIsOwned
wxToggleButton is a button that stays pressed when clicked by the user.
ToolBarBuilder
ToolBarIsOwned
A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a wxFrame.
ToolTipIsOwned
This class holds information about a tooltip associated with a window (see wxWindow::SetToolTip()).
ToolbookIsOwned
wxToolbook is a class similar to wxNotebook but which uses a wxToolBar to show the labels instead of the tabs.
TopLevelWindowIsOwned
wxTopLevelWindow is a common base class for wxDialog and wxFrame.
TreeCtrlIsOwned
A tree control presents information as a hierarchy, with items that may be expanded to show further items.
TreeEventIsOwned
A tree event holds information about events associated with wxTreeCtrl objects.
TreeItemDataIsOwned
wxTreeItemData is some (arbitrary) user class associated with some item.
TreeItemIdIsOwned
An opaque reference to a tree item.
TreeListCtrlIsOwned
A control combining wxTreeCtrl and wxListCtrl features.
TreeListItemComparatorIsOwned
Class defining sort order for the items in wxTreeListCtrl.
TreeListItemIsOwned
Unique identifier of an item in wxTreeListCtrl.
TreebookIsOwned
This class is an extension of the wxNotebook class that allows a tree structured set of pages to be shown in a control.
UIActionSimulatorIsOwned
wxUIActionSimulator is a class used to simulate user interface actions such as a mouse click or a key press.
URLDataObjectIsOwned
wxURLDataObject is a wxDataObject containing an URL and can be used e.g.
UpdateUIEventIsOwned
This class is used for pseudo-events which are called by wxWidgets to give an application the chance to update various user interface elements.
VListBoxIsOwned
wxVListBox is a wxListBox-like control with the following two main differences from a regular wxListBox: it can have an arbitrarily huge number of items because it doesn’t store them itself but uses the OnDrawItem() callback to draw them (so it is a virtual listbox) and its items can have variable height as determined by OnMeasureItem() (so it is also a listbox with the lines of variable height).
VScrolledWindowIsOwned
In the name of this class, “V” may stand for “variable” because it can be used for scrolling rows of variable heights; “virtual”, because it is not necessary to know the heights of all rows in advance only those which are shown on the screen need to be measured; or even “vertical”, because this class only supports scrolling vertically.
ValidatorIsOwned
wxValidator is the base class for a family of validator classes that mediate between a class of control, and application data.
WindowCreateEventIsOwned
This event is sent just after the actual window associated with a wxWindow object has been created.
WindowDCIsOwned
A wxWindowDC must be constructed if an application wishes to paint on the whole area of a window (client and decorations).
WindowDestroyEventIsOwned
This event is sent as early as possible during the window destruction process.
WindowDisablerIsOwned
This class disables all top level windows of the application (maybe with the exception of one of them) in its constructor and enables them back in its destructor.
WindowIsOwned
wxWindow is the base class for all windows and represents any visible object on screen.
WindowListIsOwned
WindowUpdateLocker
WizardEventIsOwned
wxWizardEvent class represents an event generated by the wxWizard: this event is first sent to the page itself and, if not processed there, goes up the window hierarchy as usual.
WizardIsOwned
wxWizard is the central class for implementing ‘wizard-like’ dialogs.
WizardPageIsOwned
wxWizardPage is one of the screens in wxWizard: it must know what are the following and preceding pages (which may be NULL for the first/last page).
WizardPageSimpleIsOwned
wxWizardPageSimple is the simplest possible wxWizardPage implementation: it just returns the pointers given to its constructor from wxWizardPage::GetNext() and wxWizardPage::GetPrev() functions.
WrapSizerIsOwned
A wrap sizer lays out its items in a single line, like a box sizer as long as there is space available in that direction.
XPMHandlerIsOwned
This is the image handler for the XPM format.

Functions§

message_box

Type Aliases§

AboutDialogInfo
wxAboutDialogInfo contains information shown in the standard About dialog displayed by the wxAboutBox() function.
AcceleratorEntry
An object used by an application wishing to create an accelerator table (see wxAcceleratorTable).
AcceleratorTable
An accelerator table allows the application to specify a table of keyboard shortcuts for menu or button commands.
ActivateEvent
An activate event is sent when a window or application is being activated or deactivated.
AffineMatrix2D
A 3x2 matrix representing an affine 2D transformation.
AffineMatrix2DBase
A 2x3 matrix representing an affine 2D transformation.
AnimationCtrl
This is a static control which displays an animation.
AnyButton
A class for common button functionality used as the base for the various button classes.
ArtProvider
wxArtProvider class is used to customize the look of wxWidgets application.
AutoBufferedPaintDC
This wxDC derivative can be used inside of an EVT_PAINT() event handler to achieve double-buffered drawing.
BannerWindow
A simple banner window showing either a bitmap or text.
Bitmap
This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or colour with alpha channel support.
BitmapBundle
Contains representations of the same bitmap in different resolutions.
BitmapButton
A bitmap button is a control that contains a bitmap.
BitmapComboBox
A combobox that displays bitmap in front of the list items.
BitmapDataObject
wxBitmapDataObject is a specialization of wxDataObject for bitmap data.
BitmapHandler
This is the base class for implementing bitmap file loading/saving, and bitmap creation from data.
BitmapToggleButton
wxBitmapToggleButton is a wxToggleButton that contains a bitmap instead of text.
BookCtrlBase
A book control is a convenient way of displaying multiple pages of information, displayed one page at a time.
BookCtrlEvent
This class represents the events generated by book controls (wxNotebook, wxListbook, wxChoicebook, wxTreebook, wxAuiNotebook).
BoxSizer
The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic geometry, typically in a row or a column or several hierarchies of either.
Brush
A brush is a drawing tool for filling in areas.
BrushList
A brush list is a list containing all brushes which have been created.
BufferedDC
This class provides a simple way to avoid flicker: when drawing on it, everything is in fact first drawn on an in-memory buffer (a wxBitmap) and then copied to the screen, using the associated wxDC, only once, when this object is destroyed.
BufferedPaintDC
This is a subclass of wxBufferedDC which can be used inside of an EVT_PAINT() event handler to achieve double-buffered drawing.
BusyCursor
This class makes it easy to tell your user that the program is temporarily busy.
BusyInfo
This class makes it easy to tell your user that the program is temporarily busy.
Button
A button is a control that contains a text string, and is one of the most common elements of a GUI.
CalculateLayoutEvent
This event is sent by wxLayoutAlgorithm to calculate the amount of the remaining client area that the window should occupy.
CalendarCtrl
The calendar control allows the user to pick a date.
CalendarDateAttr
wxCalendarDateAttr is a custom attributes for a calendar date.
CalendarEvent
The wxCalendarEvent class is used together with wxCalendarCtrl.
Caret
A caret is a blinking cursor showing the position where the typed text will appear.
CheckBox
A checkbox is a labelled box which by default is either on (checkmark is visible) or off (no checkmark).
CheckListBox
A wxCheckListBox is like a wxListBox, but allows items to be checked or unchecked.
ChildFocusEvent
A child focus event is sent to a (parent-)window when one of its child windows gains focus, so that the window could restore the focus back to its corresponding child if it loses it now and regains later.
Choice
A choice item is used to select one of a list of strings.
Choicebook
wxChoicebook is a class similar to wxNotebook, but uses a wxChoice control to show the labels instead of the tabs.
ClientDC
wxClientDC is primarily useful for obtaining information about the window from outside EVT_PAINT() handler.
Clipboard
A class for manipulating the clipboard.
ClipboardTextEvent
This class represents the events generated by a control (typically a wxTextCtrl but other windows can generate these events as well) when its content gets copied or cut to, or pasted from the clipboard.
CloseEvent
This event class contains information about window and session close events.
CollapsiblePane
A collapsible pane is a container with an embedded button-like control which can be used by the user to collapse or expand the pane’s contents.
CollapsiblePaneEvent
This event class is used for the events generated by wxCollapsiblePane.
Colour
A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values and an Alpha value, and is used to determine drawing colours.
ColourData
This class holds a variety of information related to colour dialogs.
ColourDatabase
wxWidgets maintains a database of standard RGB colours for a predefined set of named colours.
ColourDialog
This class represents the colour chooser dialog.
ColourPickerCtrl
This control allows the user to select a colour.
ColourPickerEvent
This event class is used for the events generated by wxColourPickerCtrl.
ComboBox
A combobox is like a combination of an edit control and a listbox.
ComboCtrl
A combo control is a generic combobox that allows totally custom popup.
ComboPopup
In order to use a custom popup with wxComboCtrl, an interface class must be derived from wxComboPopup.
Command
wxCommand is a base class for modelling an application command, which is an action usually performed by selecting a menu item, pressing a toolbar button or any other means provided by the application to change the data or view.
CommandEvent
This event class contains information about command events, which originate from a variety of simple controls.
CommandLinkButton
Objects of this class are similar in appearance to the normal wxButtons but are similar to the links in a web page in functionality.
CommandProcessor
wxCommandProcessor is a class that maintains a history of wxCommands, with undo/redo functionality built-in.
ContextMenuEvent
This class is used for context menu events, sent to give the application a chance to show a context (popup) menu for a wxWindow.
Control
This is the base class for a control or “widget”.
ControlWithItems
This is convenience class that derives from both wxControl and wxItemContainer.
Cursor
A cursor is a small bitmap usually used for denoting where the mouse pointer is, with a picture that might indicate the interpretation of a mouse click.
CustomDataObject
wxCustomDataObject is a specialization of wxDataObjectSimple for some application-specific data in arbitrary (either custom or one of the standard ones).
DC
A wxDC is a “device context” onto which graphics and text can be drawn.
DCBrushChanger
wxDCBrushChanger is a small helper class for setting a brush on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DCClipper
wxDCClipper is a helper class for setting a clipping region on a wxDC during its lifetime.
DCFontChanger
wxDCFontChanger is a small helper class for setting a font on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DCOverlay
Connects an overlay with a drawing DC.
DCPenChanger
wxDCPenChanger is a small helper class for setting a pen on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DCTextColourChanger
wxDCTextColourChanger is a small helper class for setting a foreground text colour on a wxDC and unsetting it automatically in the destructor, restoring the previous one.
DataFormat
A wxDataFormat is an encapsulation of a platform-specific format handle which is used by the system for the clipboard and drag and drop operations.
DataObject
A wxDataObject represents data that can be copied to or from the clipboard, or dragged and dropped.
DataObjectComposite
wxDataObjectComposite is the simplest wxDataObject derivation which may be used to support multiple formats.
DataObjectSimple
This is the simplest possible implementation of the wxDataObject class.
DataViewBitmapRenderer
This class is used by wxDataViewCtrl to render bitmaps.
DataViewChoiceByIndexRenderer
A wxDataViewCtrl renderer using wxChoice control and indexes into it.
DataViewChoiceRenderer
A wxDataViewCtrl renderer using wxChoice control and values of strings in it.
DataViewColumn
This class represents a column in a wxDataViewCtrl.
DataViewCtrl
wxDataViewCtrl is a control to display data either in a tree like fashion or in a tabular form or both.
DataViewCustomRenderer
You need to derive a new class from wxDataViewCustomRenderer in order to write a new renderer.
DataViewDateRenderer
This class is used by wxDataViewCtrl to render calendar controls.
DataViewEvent
This is the event class for the wxDataViewCtrl notifications.
DataViewIconText
wxDataViewIconText is used by wxDataViewIconTextRenderer for data transfer.
DataViewIconTextRenderer
The wxDataViewIconTextRenderer class is used to display text with a small icon next to it as it is typically done in a file manager.
DataViewIndexListModel
wxDataViewIndexListModel is a specialized data model which lets you address an item by its position (row) rather than its wxDataViewItem (which you can obtain from this class).
DataViewItem
wxDataViewItem is a small opaque class that represents an item in a wxDataViewCtrl in a persistent way, i.e.
DataViewItemAttr
This class is used to indicate to a wxDataViewCtrl that a certain item (see wxDataViewItem) has extra font attributes for its renderer.
DataViewListCtrl
This class is a wxDataViewCtrl which internally uses a wxDataViewListStore and forwards most of its API to that class.
DataViewListModel
Base class with abstract API for wxDataViewIndexListModel and wxDataViewVirtualListModel.
DataViewListStore
wxDataViewListStore is a specialised wxDataViewModel for storing a simple table of data.
DataViewModel
wxDataViewModel is the base class for all data model to be displayed by a wxDataViewCtrl.
DataViewModelNotifier
A wxDataViewModelNotifier instance is owned by a wxDataViewModel and mirrors its notification interface.
DataViewProgressRenderer
This class is used by wxDataViewCtrl to render progress bars.
DataViewRenderer
This class is used by wxDataViewCtrl to render the individual cells.
DataViewSpinRenderer
This is a specialized renderer for rendering integer values.
DataViewTextRenderer
wxDataViewTextRenderer is used for rendering text.
DataViewToggleRenderer
This class is used by wxDataViewCtrl to render toggle controls.
DataViewTreeCtrl
This class is a wxDataViewCtrl which internally uses a wxDataViewTreeStore and forwards most of its API to that class.
DataViewTreeStore
wxDataViewTreeStore is a specialised wxDataViewModel for storing simple trees very much like wxTreeCtrl does and it offers a similar API.
DataViewVirtualListModel
wxDataViewVirtualListModel is a specialized data model which lets you address an item by its position (row) rather than its wxDataViewItem and as such offers the exact same interface as wxDataViewIndexListModel.
DateEvent
This event class holds information about a date change and is used together with wxDatePickerCtrl.
DatePickerCtrl
This control allows the user to select a date.
DelegateRendererNative
wxDelegateRendererNative allows reuse of renderers code by forwarding all the wxRendererNative methods to the given object and thus allowing you to only modify some of its methods without having to reimplement all of them.
Dialog
A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the screen.
DialogLayoutAdapter
This abstract class is the base for classes that help wxWidgets perform run-time layout adaptation of dialogs.
DirDialog
This class represents the directory chooser dialog.
DirPickerCtrl
This control allows the user to select a directory.
Display
Determines the sizes and locations of displays connected to the system.
DisplayChangedEvent
A display changed event is sent to top-level windows when the display resolution has changed.
DragImage
This class is used when you wish to drag an object on the screen, and a simple cursor is not enough.
DropFilesEvent
This class is used for drop files events, that is, when files have been dropped onto the window.
DropSource
This class represents a source for a drag and drop operation.
DropTarget
This class represents a target for a drag and drop operation.
EditableListBox
An editable listbox is composite control that lets the user easily enter, delete and reorder a list of strings.
EraseEvent
An erase event is sent when a window’s background needs to be repainted.
EventBlocker
This class is a special event handler which allows discarding any event (or a set of event types) directed to a specific window.
FileCtrl
This control allows the user to select a file.
FileCtrlEvent
A file control event holds information about events associated with wxFileCtrl objects.
FileDataObject
wxFileDataObject is a specialization of wxDataObject for file names.
FileDialog
This class represents the file chooser dialog.
FileDirPickerEvent
This event class is used for the events generated by wxFilePickerCtrl and by wxDirPickerCtrl.
FileDropTarget
This is a drop target which accepts files (dragged from File Manager or Explorer).
FileHistory
The wxFileHistory encapsulates a user interface convenience, the list of most recently visited files as shown on a menu (usually the File menu).
FilePickerCtrl
This control allows the user to select a file.
FindDialogEvent
wxFindReplaceDialog events.
FindReplaceData
wxFindReplaceData holds the data for wxFindReplaceDialog.
FindReplaceDialog
wxFindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else).
FlexGridSizer
A flex grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields in one row having the same height and all fields in one column having the same width, but all rows or all columns are not necessarily the same height or width as in the wxGridSizer.
FocusEvent
A focus event is sent when a window’s focus changes.
Font
A font is an object which determines the appearance of text.
FontData
This class holds a variety of information related to font dialogs.
FontDialog
This class represents the font chooser dialog.
FontEnumerator
wxFontEnumerator enumerates either all available fonts on the system or only the ones with given attributes - either only fixed-width (suited for use in programs such as terminal emulators and the like) or the fonts available in the given encoding).
FontList
A font list is a list containing all fonts which have been created.
FontMapper
wxFontMapper manages user-definable correspondence between logical font names and the fonts present on the machine.
FontPickerCtrl
This control allows the user to select a font.
FontPickerEvent
This event class is used for the events generated by wxFontPickerCtrl.
Frame
A frame is a window whose size and position can (usually) be changed by the user.
GBPosition
This class represents the position of an item in a virtual grid of rows and columns managed by a wxGridBagSizer.
GBSizerItem
The wxGBSizerItem class is used by the wxGridBagSizer for tracking the items in the sizer.
GBSpan
This class is used to hold the row and column spanning attributes of items in a wxGridBagSizer.
GCDC
wxGCDC is a device context that draws on a wxGraphicsContext.
GDIObject
This class allows platforms to implement functionality to optimise GDI objects, such as wxPen, wxBrush and wxFont.
GIFHandler
This is the image handler for the GIF format.
Gauge
A gauge is a horizontal or vertical bar which shows a quantity (often time).
GenericAboutDialog
This class defines a customizable About dialog.
GenericDirCtrl
This control can be used to place a directory listing (with optional files) on an arbitrary window.
GenericProgressDialog
This class represents a dialog that shows a short message and a progress bar.
GenericValidator
wxGenericValidator performs data transfer (but not validation or filtering) for many type of controls.
GraphicsBrush
A wxGraphicsBrush is a native representation of a brush.
GraphicsContext
A wxGraphicsContext instance is the object that is drawn upon.
GraphicsFont
A wxGraphicsFont is a native representation of a font.
GraphicsGradientStop
Represents a single gradient stop in a collection of gradient stops as represented by wxGraphicsGradientStops.
GraphicsGradientStops
Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and CreateRadialGradientBrush.
GraphicsMatrix
A wxGraphicsMatrix is a native representation of an affine matrix.
GraphicsObject
This class is the superclass of native graphics objects like pens etc.
GraphicsPath
A wxGraphicsPath is a native representation of a geometric path.
GraphicsPen
A wxGraphicsPen is a native representation of a pen.
GraphicsRenderer
A wxGraphicsRenderer is the instance corresponding to the rendering engine used.
GridBagSizer
A wxSizer that can lay out items in a virtual grid like a wxFlexGridSizer but in this case explicit positioning of the items is allowed using wxGBPosition, and items can optionally span more than one row and/or column using wxGBSpan.
GridEditorCreatedEvent
GridEditorCreatedEvent represents a C++ wxGridEditorCreatedEvent class instance which your code has ownership, GridEditorCreatedEventIsOwned<false> represents one which don’t own.Use GridEditorCreatedEvent’s new() or Buildable::builder() (if available) to create an instance of this class.See C++ wxGridEditorCreatedEvent class’s documentation for more details.
GridEvent
This event class contains information about various grid events.
GridRangeSelectEvent
Events of this class notify about a range of cells being selected.
GridSizeEvent
This event class contains information about a row/column resize event.
GridSizer
A grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields having the same size, i.e.
GridTableBase
The almost abstract base class for grid tables.
GridUpdateLocker
This small class can be used to prevent wxGrid from redrawing during its lifetime by calling wxGrid::BeginBatch() in its constructor and wxGrid::EndBatch() in its destructor.
HScrolledWindow
In the name of this class, “H” stands for “horizontal” because it can be used for scrolling columns of variable widths.
HTMLDataObject
wxHTMLDataObject is used for working with HTML-formatted text.
HVScrolledWindow
This window inherits all functionality of both vertical and horizontal, variable scrolled windows.
HeaderColumn
Represents a column header in controls displaying tabular data such as wxDataViewCtrl or wxGrid.
HeaderColumnSimple
Simple container for the information about the column.
HeaderCtrl
wxHeaderCtrl is the control containing the column headings which is usually used for display of tabular data.
HeaderCtrlEvent
Event class representing the events generated by wxHeaderCtrl.
HeaderCtrlSimple
wxHeaderCtrlSimple is a concrete header control which can be used directly, without inheriting from it as you need to do when using wxHeaderCtrl itself.
HelpEvent
A help event is sent when the user has requested context-sensitive help.
HyperlinkCtrl
This class shows a static text element which links to an URL.
HyperlinkEvent
This event class is used for the events generated by wxHyperlinkCtrl.
Icon
An icon is a small rectangular bitmap usually used for denoting a minimized application.
IconBundle
This class contains multiple copies of an icon in different sizes.
IconizeEvent
An event being sent when the frame is iconized (minimized) or restored.
IdManager
wxIdManager is responsible for allocating and releasing window IDs.
Image
This class encapsulates a platform-independent image.
ImageHandler
This is the base class for implementing image file loading/saving, and image creation from data.
ImageList
A wxImageList contains a list of images, which are stored in an unspecified form.
InfoBar
An info bar is a transient window shown at top or bottom of its parent window to display non-critical information to the user.
InitDialogEvent
A wxInitDialogEvent is sent as a dialog or panel is being initialised.
ItemContainer
This class is an abstract base class for some wxWidgets controls which contain several items such as wxListBox, wxCheckListBox, wxComboBox or wxChoice.
ItemContainerImmutable
wxItemContainer defines an interface which is implemented by all controls which have string subitems each of which may be selected.
JPEGHandler
This is the image handler for the JPEG format.
JoystickEvent
This event class contains information about joystick events, particularly events received by windows.
KeyEvent
This event class contains information about key press and release events.
LayoutAlgorithm
wxLayoutAlgorithm implements layout of subwindows in MDI or SDI frames.
ListBox
A listbox is used to select one or more of a list of strings.
ListCtrl
A list control presents lists in a number of formats: list view, report view, icon view and small icon view.
ListEvent
A list event holds information about events associated with wxListCtrl objects.
ListItem
This class stores information about a wxListCtrl item or column.
ListView
This class currently simply presents a simpler to use interface for the wxListCtrl it can be thought of as a façade for that complicated class.
Listbook
wxListbook is a class similar to wxNotebook but which uses a wxListCtrl to show the labels instead of the tabs.
Mask
This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.
MaximizeEvent
An event being sent when a top level window is maximized.
MemoryDC
A memory device context provides a means to draw graphics onto a bitmap.
Menu
A menu is a popup (or pull down) list of items, one of which may be selected before the menu goes away (clicking elsewhere dismisses the menu).
MenuBar
A menu bar is a series of menus accessible from the top of a frame.
MenuEvent
This class is used for a variety of menu-related events.
MenuItem
A menu item represents an item in a menu.
MessageDialog
This class represents a dialog that shows a single or multi-line message, with a choice of OK, Yes, No and Cancel buttons.
MessageOutputMessageBox
Output messages by showing them in a message box.
MiniFrame
A miniframe is a frame with a small title bar.
MirrorDC
wxMirrorDC is a simple wrapper class which is always associated with a real wxDC object and either forwards all of its operations to it without changes (no mirroring takes place) or exchanges x and y coordinates which makes it possible to reuse the same code to draw a figure and its mirror i.e.
MouseCaptureChangedEvent
A mouse capture changed event is sent to a window that loses its mouse capture.
MouseCaptureLostEvent
A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequently lost due to an “external” event (for example, when a dialog box is shown or if another application captures the mouse).
MouseEvent
This event class contains information about the events generated by the mouse: they include mouse buttons press and release events and mouse move events.
MouseEventsManager
Helper for handling mouse input events in windows containing multiple items.
MoveEvent
A move event holds information about window position change.
NativeFontInfo
wxNativeFontInfo is platform-specific font representation: this class should be considered as an opaque font description only used by the native functions, the user code can only get the objects of this type from somewhere and pass it somewhere else (possibly save them somewhere using ToString() and restore them using FromString())
NavigationKeyEvent
This event class contains information about navigation events, generated by navigation keys such as tab and page down.
NonOwnedWindow
Common base class for all non-child windows.
Notebook
This class represents a notebook control, which manages multiple windows with associated tabs.
NotificationMessage
This class allows showing the user a message non intrusively.
NotifyEvent
This class is not used by the event handlers by itself, but is a base class for other event classes (such as wxBookCtrlEvent).
NumberEntryDialog
This class represents a dialog that requests a numeric input from the user.
Overlay
Creates an overlay over an existing window, allowing for manipulations like rubberbanding, etc.
OwnerDrawnComboBox
wxOwnerDrawnComboBox is a combobox with owner-drawn list items.
PCXHandler
This is the image handler for the PCX format.
PNGHandler
This is the image handler for the PNG format.
PNMHandler
This is the image handler for the PNM format.
PaintDC
A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from within an EVT_PAINT() event handler.
PaintEvent
A paint event is sent when a window’s contents needs to be repainted.
Palette
A palette is a table that maps pixel values to RGB colours.
Panel
A panel is a window on which controls are placed.
PasswordEntryDialog
This class represents a dialog that requests a one-line password string from the user.
Pen
A pen is a drawing tool for drawing outlines.
PenList
There is only one instance of this class: wxThePenList.
PersistenceManager
Provides support for automatically saving and restoring object properties to persistent storage.
PickerBase
Base abstract class for all pickers which support an auxiliary text control.
Point
A wxPoint is a useful data structure for graphics operations.
PopupTransientWindow
A wxPopupWindow which disappears automatically when the user clicks mouse outside it or if it loses focus in any other way.
PopupWindow
A special kind of top level window used for popup menus, combobox popups and such.
PreferencesEditor
Manage preferences dialog.
PreferencesPage
One page of preferences dialog.
PropertySheetDialog
This class represents a property sheet dialog: a tabbed dialog for showing settings.
Quantize
Performs quantization, or colour reduction, on a wxImage.
QueryLayoutInfoEvent
This event is sent when wxLayoutAlgorithm wishes to get the size, orientation and alignment of a window.
RadioBox
A radio box item is used to select one of number of mutually exclusive choices.
RadioButton
A radio button item is a button which usually denotes one of several mutually exclusive options.
RealPoint
A wxRealPoint is a useful data structure for graphics operations.
RearrangeCtrl
A composite control containing a wxRearrangeList and the buttons allowing to move the items in it.
RearrangeDialog
A dialog allowing the user to rearrange the specified items.
RearrangeList
A listbox-like control allowing the user to rearrange the items and to enable or disable them.
Rect
Represents a rectangle with integer coordinates.
Region
A wxRegion represents a simple or complex region on a device context or window.
RegionIterator
This class is used to iterate through the rectangles in a region, typically when examining the damaged regions of a window within an OnPaint call.
RendererNative
First, a brief introduction to wxRendererNative and why it is needed.
RichToolTip
Allows showing a tool tip with more customizations than wxToolTip.
SVGFileDC
A wxSVGFileDC is a device context onto which graphics and text can be drawn, and the output produced as a vector file, in SVG format.
SashEvent
A sash event is sent when the sash of a wxSashWindow has been dragged by the user.
SashLayoutWindow
wxSashLayoutWindow responds to OnCalculateLayout events generated by wxLayoutAlgorithm.
SashWindow
wxSashWindow allows any of its edges to have a sash which can be dragged to resize the window.
ScreenDC
A wxScreenDC can be used to paint on the screen.
ScrollBar
A wxScrollBar is a control that represents a horizontal or vertical scrollbar.
ScrollEvent
A scroll event holds information about events sent from stand-alone scrollbars (see wxScrollBar) and sliders (see wxSlider).
ScrollWinEvent
A scroll event holds information about events sent from scrolling windows.
SearchCtrl
A search control is a composite control with a search button, a text control, and a cancel button.
SetCursorEvent
A wxSetCursorEvent is generated from wxWindow when the mouse cursor is about to be set as a result of mouse motion.
SettableHeaderColumn
Adds methods to set the column attributes to wxHeaderColumn.
ShowEvent
An event being sent when the window is shown or hidden.
Simplebook
wxSimplebook is a control showing exactly one of its several pages.
Size
A wxSize is a useful data structure for graphics operations.
SizeEvent
A size event holds information about size change events of wxWindow.
Sizer
wxSizer is the abstract base class used for laying out subwindows in a window.
SizerFlags
Container for sizer items flags providing readable names for them.
SizerItem
The wxSizerItem class is used to track the position, size and other attributes of each item managed by a wxSizer.
SizerItemList
Slider
A slider is a control with a handle which can be pulled back and forth to change the value.
SpinButton
A wxSpinButton has two small up and down (or left and right) arrow buttons.
SpinCtrl
wxSpinCtrl combines wxTextCtrl and wxSpinButton in one control.
SpinCtrlDouble
wxSpinCtrlDouble combines wxTextCtrl and wxSpinButton in one control and displays a real number.
SpinDoubleEvent
This event class is used for the events generated by wxSpinCtrlDouble.
SpinEvent
This event class is used for the events generated by wxSpinButton and wxSpinCtrl.
SplashScreen
wxSplashScreen shows a window with a thin border, displaying a bitmap describing your application.
SplitterEvent
This class represents the events generated by a splitter control.
SplitterWindow
This class manages up to two subwindows.
StaticBitmap
A static bitmap control displays a bitmap.
StaticBox
A static box is a rectangle drawn around other windows to denote a logical grouping of items.
StaticBoxSizer
wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer.
StaticLine
A static line is just a line which may be used in a dialog to separate the groups of controls.
StaticText
A static text control displays one or more lines of read-only text.
StatusBar
A status bar is a narrow window that can be placed along the bottom of a frame to give small amounts of status information.
StatusBarPane
A status bar pane data container used by wxStatusBar.
StdDialogButtonSizer
This class creates button layouts which conform to the standard button spacing and ordering defined by the platform or toolkit’s user interface guidelines (if such things exist).
StockPreferencesPage
Specialization of wxPreferencesPage useful for certain commonly used preferences page.
SysColourChangedEvent
This class is used for system colour change events, which are generated when the user changes the colour settings or when the system theme changes (e.g.
SystemSettings
wxSystemSettings allows the application to ask for details about the system.
TGAHandler
This is the image handler for the TGA format.
TIFFHandler
This is the image handler for the TIFF format.
TaskBarIcon
This class represents a taskbar icon.
TaskBarIconEvent
The event class used by wxTaskBarIcon.
TextAttr
wxTextAttr represents the character and paragraph attributes, or style, for a range of text in a wxTextCtrl or wxRichTextCtrl.
TextCtrl
A text control allows text to be displayed and edited.
TextDataObject
wxTextDataObject is a specialization of wxDataObjectSimple for text data.
TextDropTarget
A predefined drop target for dealing with text data.
TextEntry
Common base class for single line text entry fields.
TextEntryDialog
This class represents a dialog that requests a one-line text string from the user.
TextValidator
wxTextValidator validates text controls, providing a variety of filtering behaviours.
ThreadEvent
This class adds some simple functionality to wxEvent to facilitate inter-thread communication.
TimePickerCtrl
This control allows the user to enter time.
TipProvider
This is the class used together with wxShowTip() function.
TipWindow
Shows simple text in a popup tip window on creation.
ToggleButton
wxToggleButton is a button that stays pressed when clicked by the user.
ToolBar
A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a wxFrame.
ToolTip
This class holds information about a tooltip associated with a window (see wxWindow::SetToolTip()).
Toolbook
wxToolbook is a class similar to wxNotebook but which uses a wxToolBar to show the labels instead of the tabs.
TopLevelWindow
wxTopLevelWindow is a common base class for wxDialog and wxFrame.
TreeCtrl
A tree control presents information as a hierarchy, with items that may be expanded to show further items.
TreeEvent
A tree event holds information about events associated with wxTreeCtrl objects.
TreeItemData
wxTreeItemData is some (arbitrary) user class associated with some item.
TreeItemId
An opaque reference to a tree item.
TreeListCtrl
A control combining wxTreeCtrl and wxListCtrl features.
TreeListItem
Unique identifier of an item in wxTreeListCtrl.
TreeListItemComparator
Class defining sort order for the items in wxTreeListCtrl.
Treebook
This class is an extension of the wxNotebook class that allows a tree structured set of pages to be shown in a control.
UIActionSimulator
wxUIActionSimulator is a class used to simulate user interface actions such as a mouse click or a key press.
URLDataObject
wxURLDataObject is a wxDataObject containing an URL and can be used e.g.
UpdateUIEvent
This class is used for pseudo-events which are called by wxWidgets to give an application the chance to update various user interface elements.
VListBox
wxVListBox is a wxListBox-like control with the following two main differences from a regular wxListBox: it can have an arbitrarily huge number of items because it doesn’t store them itself but uses the OnDrawItem() callback to draw them (so it is a virtual listbox) and its items can have variable height as determined by OnMeasureItem() (so it is also a listbox with the lines of variable height).
VScrolledWindow
In the name of this class, “V” may stand for “variable” because it can be used for scrolling rows of variable heights; “virtual”, because it is not necessary to know the heights of all rows in advance only those which are shown on the screen need to be measured; or even “vertical”, because this class only supports scrolling vertically.
Validator
wxValidator is the base class for a family of validator classes that mediate between a class of control, and application data.
Window
wxWindow is the base class for all windows and represents any visible object on screen.
WindowCreateEvent
This event is sent just after the actual window associated with a wxWindow object has been created.
WindowDC
A wxWindowDC must be constructed if an application wishes to paint on the whole area of a window (client and decorations).
WindowDestroyEvent
This event is sent as early as possible during the window destruction process.
WindowDisabler
This class disables all top level windows of the application (maybe with the exception of one of them) in its constructor and enables them back in its destructor.
WindowList
Wizard
wxWizard is the central class for implementing ‘wizard-like’ dialogs.
WizardEvent
wxWizardEvent class represents an event generated by the wxWizard: this event is first sent to the page itself and, if not processed there, goes up the window hierarchy as usual.
WizardPage
wxWizardPage is one of the screens in wxWizard: it must know what are the following and preceding pages (which may be NULL for the first/last page).
WizardPageSimple
wxWizardPageSimple is the simplest possible wxWizardPage implementation: it just returns the pointers given to its constructor from wxWizardPage::GetNext() and wxWizardPage::GetPrev() functions.
WrapSizer
A wrap sizer lays out its items in a single line, like a box sizer as long as there is space available in that direction.
XPMHandler
This is the image handler for the XPM format.