wxGauge
generated from ../src/mod_gui/control/gauge.cppA gauge is a horizontal or vertical bar which shows a quantity (often time).
Constants
Style
| Name | Description |
|---|---|
| HORIZONTAL | |
| VERTICAL | |
| PROGRESSBAR | |
| SMOOTH |
Constructor
wxGauge
wxGauge()
wxGauge(Parent,
Id,
Range,
Position = wxDefaultPosition,
Size = wxDefaultSize,
Style = wxGauge.HORIZONTAL,
Validator = null)
| Name | Type | Default | Description |
|---|---|---|---|
| Parent | wxWindow | The parent of wxGauge. | |
| Id | Integer | An window identifier. Use -1 when you don't need it. | |
| Range | Integer | The maximum value of the gauge | |
| Position | wxPoint | wxDefaultPosition | The position of the Gauge control on the given parent. |
| Size | wxSize | wxDefaultSize | The size of the Gauge control. |
| Style | Integer | wxGauge.HORIZONTAL | The wxGauge style. |
| Validator | wxValidator | null |
Constructs a new wxGauge object.
Properties
Methods
create
create(Parent,
Id,
Range,
Position = wxDefaultPosition,
Size = wxDefaultSize,
Style = wxGauge.HORIZONTAL,
Validator = null) : Boolean
| Name | Type | Default | Description |
|---|---|---|---|
| Parent | wxWindow | The parent of wxGauge. | |
| Id | Integer | An window identifier. Use -1 when you don't need it. | |
| Range | Integer | The maximum value of the gauge | |
| Position | wxPoint | wxDefaultPosition | The position of the Gauge control on the given parent. |
| Size | wxSize | wxDefaultSize | The size of the Gauge control. |
| Style | Integer | wxGauge.HORIZONTAL | The wxGauge style. |
| Validator | wxValidator | null |
Creates a wxGauge
© 2002 - 2007 Franky Braem.