API Reference wx v2.4.3

Modules

gl

Erlang wrapper functions for OpenGL

glu

Erlang wrapper functions for OpenGL

wx

A port of wxWidgets.

An object used by an application wishing to create an accelerator table (see wxAcceleratorTable).

An accelerator table allows the application to specify a table of keyboard shortcuts for menu or button commands.

An activate event is sent when a window or application is being activated or deactivated.

wxArtProvider class is used to customize the look of wxWidgets application.

wxAuiDockArt is part of the wxAUI class framework.

wxAuiManager is the central class of the wxAUI class framework.

Event used to indicate various actions taken with wxAuiManager.

wxAuiNotebook is part of the wxAUI class framework, which represents a notebook control, managing multiple windows with associated tabs.

This class is used by the events generated by wxAuiNotebook.

wxAuiPaneInfo is part of the wxAUI class framework.

Another standard tab art provider for wxAuiNotebook.

Tab art provider defines all the drawing functions used by wxAuiNotebook.

This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or colour with alpha channel support.

A bitmap button is a control that contains a bitmap.

wxBitmapDataObject is a specialization of wxDataObject for bitmap data.

A book control is a convenient way of displaying multiple pages of information, displayed one page at a time.

This class represents the events generated by book controls (wxNotebook, wxListbook, wxChoicebook, wxTreebook, wxAuiNotebook).

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.

A brush is a drawing tool for filling in areas.

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.

This is a subclass of wxBufferedDC which can be used inside of an EVT\_PAINT() event handler to achieve double-buffered drawing.

A button is a control that contains a text string, and is one of the most common elements of a GUI.

The calendar control allows the user to pick a date.

wxCalendarDateAttr is a custom attributes for a calendar date.

The wxCalendarEvent class is used together with wxCalendarCtrl.

A caret is a blinking cursor showing the position where the typed text will appear.

A checkbox is a labelled box which by default is either on (checkmark is visible) or off (no checkmark).

A wxCheckListBox is like a wxListBox, but allows items to be checked or unchecked.

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.

A choice item is used to select one of a list of strings.

wxChoicebook is a class similar to wxNotebook, but uses a wxChoice control to show the labels instead of the tabs.

wxClientDC is primarily useful for obtaining information about the window from outside EVT_PAINT() handler.

A class for manipulating the clipboard.

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.

This event class contains information about window and session close events.

This class holds a variety of information related to colour dialogs.

This class represents the colour chooser dialog.

This control allows the user to select a colour.

This event class is used for the events generated by wxColourPickerCtrl.

A combobox is like a combination of an edit control and a listbox.

This event class contains information about command events, which originate from a variety of simple controls.

This class is used for context menu events, sent to give the application a chance to show a context (popup) menu for a wxWindow.

This is the base class for a control or "widget".

This is convenience class that derives from both wxControl and wxItemContainer (not implemented in wx).

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.

A wxDC is a "device context" onto which graphics and text can be drawn.

Connects an overlay with a drawing DC.

A wxDataObject represents data that can be copied to or from the clipboard, or dragged and dropped.

This event class holds information about a date change and is used together with wxDatePickerCtrl.

This control allows the user to select a date.

A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the screen.

This class represents the directory chooser dialog.

This control allows the user to select a directory.

Determines the sizes and locations of displays connected to the system.

A display changed event is sent to top-level windows when the display resolution has changed.

This class is used for drop files events, that is, when files have been dropped onto the window.

An erase event is sent when a window's background needs to be repainted.

An event is a structure holding information about an event passed to a callback or member function.

The Event handler

wxFileDataObject is a specialization of wxDataObject for file names.

This class represents the file chooser dialog.

This event class is used for the events generated by wxFilePickerCtrl and by wxDirPickerCtrl.

This control allows the user to select a file.

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).

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.

A focus event is sent when a window's focus changes.

A font is an object which determines the appearance of text.

This class holds a variety of information related to font dialogs.

This class represents the font chooser dialog.

This control allows the user to select a font.

This event class is used for the events generated by wxFontPickerCtrl.

A frame is a window whose size and position can (usually) be changed by the user.

The wxGBSizerItem class is used by the wxGridBagSizer for tracking the items in the sizer.

wxGCDC is a device context that draws on a wxGraphicsContext.

wxGLCanvas is a class for displaying OpenGL graphics.

An instance of a wxGLContext represents the state of an OpenGL state machine and the connection between OpenGL and the system.

A gauge is a horizontal or vertical bar which shows a quantity (often time).

This control can be used to place a directory listing (with optional files) on an arbitrary window.

A wxGraphicsBrush is a native representation of a brush.

A wxGraphicsContext instance is the object that is drawn upon.

A wxGraphicsFont is a native representation of a font.

Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and CreateRadialGradientBrush.

A wxGraphicsMatrix is a native representation of an affine matrix.

This class is the superclass of native graphics objects like pens etc.

A wxGraphicsPath is a native representation of a geometric path.

A wxGraphicsPen is a native representation of a pen.

A wxGraphicsRenderer is the instance corresponding to the rendering engine used.

wxGrid and its related classes are used for displaying and editing tabular data.

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 (not implemented in wx), and items can optionally span more than one row and/or column using wxGBSpan (not implemented in wx).

This class can be used to alter the cells' appearance in the grid by changing their attributes from the defaults.

Grid cell editor for boolean data.

This class may be used to format boolean data in a cell.

Grid cell editor for string data providing the user a choice from a list of strings.

This class is responsible for providing and manipulating the in-place edit controls for the grid.

The editor for floating point numbers data.

This class may be used to format floating point data in a cell.

Grid cell editor for numeric integer data.

This class may be used to format integer data in a cell.

This class is responsible for actually drawing the cell in the grid.

This class may be used to format string data in a cell; it is the default for string cells.

Grid cell editor for string/text data.

This event class contains information about various grid events.

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.

A help event is sent when the user has requested context-sensitive help.

This class provides very simple interface to printing architecture.

This event class is used for the events generated by wxHtmlWindow.

wxHtmlWindow is probably the only class you will directly use unless you want to do something special (like adding new tag handlers or MIME filters).

An icon is a small rectangular bitmap usually used for denoting a minimized application.

This class contains multiple copies of an icon in different sizes.

An event being sent when the frame is iconized (minimized) or restored.

This class is used for idle events, which are generated when the system becomes idle.

This class encapsulates a platform-independent image.

A wxImageList contains a list of images, which are stored in an unspecified form.

A wxInitDialogEvent is sent as a dialog or panel is being initialised.

This event class contains information about joystick events, particularly events received by windows.

This event class contains information about key press and release events.

wxLayoutAlgorithm implements layout of subwindows in MDI or SDI frames.

A listbox is used to select one or more of a list of strings.

A list control presents lists in a number of formats: list view, report view, icon view and small icon view.

A list event holds information about events associated with wxListCtrl objects.

This class stores information about a wxListCtrl item or column.

Functions for wxListItemAttr class

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.

wxListbook is a class similar to wxNotebook but which uses a wxListCtrl to show the labels instead of the tabs.

wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale concept.

This class allows you to temporarily suspend logging.

An MDI child frame is a frame that can only exist inside a wxMDIClientWindow, which is itself a child of wxMDIParentFrame.

An MDI client window is a child of wxMDIParentFrame, and manages zero or more wxMDIChildFrame objects.

An MDI (Multiple Document Interface) parent frame is a window which can contain MDI child frames in its client area which emulates the full desktop.

This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked area is white.

An event being sent when a top level window is maximized.

A memory device context provides a means to draw graphics onto a bitmap.

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).

A menu bar is a series of menus accessible from the top of a frame.

This class is used for a variety of menu-related events.

A menu item represents an item in a menu.

This class represents a dialog that shows a single or multi-line message, with a choice of OK, Yes, No and Cancel buttons.

A miniframe is a frame with a small title bar.

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.

An mouse capture changed event is sent to a window that loses its mouse capture.

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).

This event class contains information about the events generated by the mouse: they include mouse buttons press and release events and mouse move events.

A move event holds information about window position change.

This class represents a dialog that shows a list of strings, and allows the user to select one or more.

This event class contains information about navigation events, generated by navigation keys such as tab and page down.

This class represents a notebook control, which manages multiple windows with associated tabs.

This class allows showing the user a message non intrusively.

This class is not used by the event handlers by itself, but is a base class for other event classes (such as wxBookCtrlEvent).

Creates an overlay over an existing window, allowing for manipulations like rubberbanding, etc.

This class represents the page setup common dialog.

This class holds a variety of information related to wxPageSetupDialog.

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.

A paint event is sent when a window's contents needs to be repainted.

A palette is a table that maps pixel values to RGB colours.

Functions for wxPaletteChangedEvent class

A panel is a window on which controls are placed.

This class represents a dialog that requests a one-line password string from the user.

A pen is a drawing tool for drawing outlines.

Base abstract class for all pickers which support an auxiliary text control.

A wxPopupWindow which disappears automatically when the user clicks mouse outside it or if it loses focus in any other way.

A special kind of top level window used for popup menus, combobox popups and such.

This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files on any platform.

A preview canvas is the default canvas used by the print preview system to display the preview.

This is the default implementation of the preview control bar, a panel with buttons and a zoom control.

This class provides the default method of managing the print preview interface.

This class holds a variety of information related to printers and printer device contexts.

This class represents the print and print setup common dialogs.

This class holds information related to the visual characteristics of wxPrintDialog.

Objects of this class manage the print preview process.

This class represents the Windows or PostScript printer, and is the vehicle through which printing may be launched by an application.

This class encapsulates the functionality of printing out an application document.

If supported by the platform this class will provide the platform's native progress dialog, else it will simply be the wxGenericProgressDialog (not implemented in wx).

Functions for wxQueryNewPaletteEvent class

A radio box item is used to select one of number of mutually exclusive choices.

A radio button item is a button which usually denotes one of several mutually exclusive options.

A wxRegion represents a simple or complex region on a device context or window.

A sash event is sent when the sash of a wxSashWindow has been dragged by the user.

wxSashLayoutWindow responds to OnCalculateLayout events generated by wxLayoutAlgorithm.

wxSashWindow allows any of its edges to have a sash which can be dragged to resize the window.

A wxScreenDC can be used to paint on the screen.

A wxScrollBar is a control that represents a horizontal or vertical scrollbar.

A scroll event holds information about events sent from stand-alone scrollbars (see wxScrollBar) and sliders (see wxSlider).

A scroll event holds information about events sent from scrolling windows.

The wxScrolled (not implemented in wx) class manages scrolling for its client area, transforming the coordinates according to the scrollbar positions, and setting the scroll positions, thumb sizes and ranges according to the area in view.

A wxSetCursorEvent is generated from wxWindow when the mouse cursor is about to be set as a result of mouse motion.

An event being sent when the window is shown or hidden.

This class represents a dialog that shows a list of strings, and allows the user to select one.

A size event holds information about size change events of wxWindow.

wxSizer is the abstract base class used for laying out subwindows in a window.

Container for sizer items flags providing readable names for them.

The wxSizerItem class is used to track the position, size and other attributes of each item managed by a wxSizer.

A slider is a control with a handle which can be pulled back and forth to change the value.

A wxSpinButton has two small up and down (or left and right) arrow buttons.

wxSpinCtrl combines wxTextCtrl and wxSpinButton in one control.

This event class is used for the events generated by wxSpinButton and wxSpinCtrl.

wxSplashScreen shows a window with a thin border, displaying a bitmap describing your application.

This class represents the events generated by a splitter control.

This class manages up to two subwindows.

A static bitmap control displays a bitmap.

A static box is a rectangle drawn around other windows to denote a logical grouping of items.

wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer.

A static line is just a line which may be used in a dialog to separate the groups of controls.

A static text control displays one or more lines of read-only text.

A status bar is a narrow window that can be placed along the bottom of a frame to give small amounts of status information.

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).

A wxWidgets implementation of the Scintilla source code editing component.

The type of events sent from wxStyledTextCtrl.

This class is used for system colour change events, which are generated when the user changes the colour settings using the control panel.

wxSystemOptions stores option/value pairs that wxWidgets itself or applications can use to alter behaviour at run-time.

wxSystemSettings allows the application to ask for details about the system.

This class represents a taskbar icon.

The event class used by wxTaskBarIcon.

wxTextAttr represents the character and paragraph attributes, or style, for a range of text in a wxTextCtrl or wxRichTextCtrl (not implemented in wx).

A text control allows text to be displayed and edited.

wxTextDataObject is a specialization of wxDataObjectSimple (not implemented in wx) for text data.

This class represents a dialog that requests a one-line text string from the user.

wxToggleButton is a button that stays pressed when clicked by the user.

A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a wxFrame.

This class holds information about a tooltip associated with a window (see wxWindow:setToolTip/2).

wxToolbook is a class similar to wxNotebook but which uses a wxToolBar to show the labels instead of the tabs.

wxTopLevelWindow is a common base class for wxDialog and wxFrame.

A tree control presents information as a hierarchy, with items that may be expanded to show further items.

A tree event holds information about events associated with wxTreeCtrl objects.

This class is an extension of the wxNotebook class that allows a tree structured set of pages to be shown in a control.

This class is used for pseudo-events which are called by wxWidgets to give an application the chance to update various user interface elements.

This control may be used to render web (HTML / CSS / javascript) documents.

A navigation event holds information about events associated with wxWebView objects.

wxWindow is the base class for all windows and represents any visible object on screen.

This event is sent just after the actual window associated with a wxWindow object has been created.

A wxWindowDC must be constructed if an application wishes to paint on the whole area of a window (client and decorations).

This event is sent as early as possible during the window destruction process.

This is the main class for interacting with the XML-based resource system.

Miscellaneous functions.

wx_object - Generic wx object behaviour.