1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: SWIG interface defs for wxGauge
7 // Created: 10-June-1998
9 // Copyright: (c) 2003 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
16 //---------------------------------------------------------------------------
18 MAKE_CONST_WXSTRING(GaugeNameStr);
26 wxGA_PROGRESSBAR // obsolete
29 //---------------------------------------------------------------------------
32 class wxGauge : public wxControl {
34 %pythonAppend wxGauge "self._setOORInfo(self)"
35 %pythonAppend wxGauge() ""
37 wxGauge(wxWindow* parent, wxWindowID id, int range,
38 const wxPoint& pos = wxDefaultPosition,
39 const wxSize& size = wxDefaultSize,
40 long style = wxGA_HORIZONTAL,
41 const wxValidator& validator = wxDefaultValidator,
42 const wxString& name = wxPyGaugeNameStr);
43 %name(PreGauge)wxGauge();
45 bool Create(wxWindow* parent, wxWindowID id, int range,
46 const wxPoint& pos = wxDefaultPosition,
47 const wxSize& size = wxDefaultSize,
48 long style = wxGA_HORIZONTAL,
49 const wxValidator& validator = wxDefaultValidator,
50 const wxString& name = wxPyGaugeNameStr);
52 // set/get the control range
53 virtual void SetRange(int range);
54 virtual int GetRange() const;
57 virtual void SetValue(int pos);
58 virtual int GetValue() const;
61 bool IsVertical() const;
63 // appearance params (not implemented for most ports)
64 virtual void SetShadowWidth(int w);
65 virtual int GetShadowWidth() const;
66 virtual void SetBezelFace(int w);
67 virtual int GetBezelFace() const;
70 //---------------------------------------------------------------------------