|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Data types
|
|
|
Window borders
| Constructors | BorderSimple | Displays a thin border around the window.
| BorderDouble | Displays a double border. Windows only.
| BorderSunken | Displays a sunken border.
| BorderRaised | Displays a raised border.
| BorderStatic | Displays a border suitable for a static control. Windows only
| BorderNone | No border
|
| Instances | |
|
|
Text
|
|
|
Widgets with a label or text field.
| | Methods | | The text of a widget. It is interpreted differently for
for different widgets, for example, the title of a frame or the content of a
static text control.
| | |
| | Instances | |
|
|
|
Widgets with a font.
| | Methods | | The font of the widget.
| | | The font size.
| | | The font weight.
| | | The font family.
| | | The font style.
| | | The font face: determines a platform dependent font.
| | | Is the font underlined?
| | | Text color.
| | | Text background color
|
|
|
|
Rendering
|
|
class Dimensions w where | Source |
|
Widgets that have a size.
| | Methods | | The outer size of a widget (in pixels).
| | | The (relative) position of a widget.
| | | The occupied area.
| | | The preferred size of a widget.
| | | The area available for client use (i.e. without the border etc).
| | | The virtual size of a widget (ie. the total scrolling area)
|
|
|
|
|
| Methods | | The background color.
| | | The (foreground) color
|
|
|
|
|
Visible widgets.
| | Methods | | Is the widget visible?
| | | Refresh the widget explicitly.
| | | Should the widget be fully repainted on resize? This attribute only
has effect when set at creation. If False, you will have to repaint
the new window area manually at a resize, but flickering caused by
background redraws can be prevented in this way. (False by default)
|
|
|
|
|
Widgets with a border.
| | Methods | | Specify the border of a widget.
|
|
|
|
Hierarchy
|
|
|
Widgets that are part of a hierarchical order.
| | Methods | |
|
|
|
Parent widgets.
| | Methods | | Get the child widgets of a window.
| | | Reduce flicker by not redrawing the background under child controls.
This attribute has to be set at creation time. (True by default)
|
|
|
|
|
Widgets that can be closed.
| | Methods | |
|
|
Containers
|
|
|
Widgets with a single selection (radio group or listbox)
| | Methods | | The current selection as a zero-based index.
Certain widgets return -1 when no item is selected.
|
|
|
|
class Selections w where | Source |
|
Widget with zero or more selections (multi select list boxes)
| | Methods | | The currently selected items in zero-based indices.
|
|
|
|
class Items w a | w -> a where | Source |
|
Widgets containing certain items (like strings in a listbox)
| | Methods | | Number of items.
| | | All the items as a list. This attribute might not be writable for some widgets (like radioboxes)
| | | An item by zero-based index.
| | | Delete an item. Only valid for writeable items.
| | | Delete all items. Only valid for writeable items.
| | | Append an item. Only valid for writeable items.
|
|
|
|
Misc.
|
|
|
Widgets that can be enabled or disabled.
| | Methods | | Enable, or disable, the widget.
|
| | Instances | |
|
|
|
Widgets with help text.
| | Methods | | Short help text, normally displayed in the status bar or popup balloon.
|
| | Instances | |
|
|
|
Widgets that have a tooltip
| | Methods | | | Instances | |
|
|
|
The identity determines the wxWindows ID of a widget.
| | Methods | | The identity determines the wxWindows ID of a widget.
|
| | Instances | |
|
|
|
The style is a bitmask that determines various properties of a widget.
| | Methods | |
|
|
|
Widgets that have a system frame around them.
| | Methods | | Make the widget user resizeable? This attribute must be set at creation time.
| | | Can the widget be minimized? This attribute must be set at creation time.
| | | Can the widget be maximized? This attribute must be set at creation time
and is normally used together with resizeable.
| | | Can the widget be closed by the user? This attribute must be set at creation time.
|
|
|
|
|
Checkable widgets
| | Methods | | Is the widget checkable?
| | | Is the widget checked?
|
| | Instances | |
|
|
|
Dockable widgets.
| | Methods | |
|
|
|
Widgets with a picture.
| | Methods | |
|
|
|
Items with a value.
| | Methods | | | Instances | |
|
|
|
Sized objects (like bitmaps)
| | Methods | |
|
|
Produced by Haddock version 2.1.0 |