back to gui 

wxGauge

generated from ../src/mod_gui/control/gauge.cpp

A 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

Name Type Description
bezelFace Integer Get/Set the width of the 3D bezel face. Windows only
range Integer Get/Set the maximum position of the gauge.
shadowWidth Integer Get/Set the 3D shadow margin width. Windows only
value Integer Get/Set the current value of the gauge.

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



SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxControl

Constructor

wxGauge

Properties

bezelFace
range
shadowWidth
value

Methods

create


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.