AGW Logo

agw_title ProgressPie

ProgressPie tries to emulate the behavior of wx.ProgressDialog, but using a pie chart instead of a gauge.

hierarchy Inheritance Diagram

Inheritance diagram for: ProgressPie

Inheritance diagram of ProgressPie


supclasses Known Superclasses


appearance Control Appearance


ProgressPie

ProgressPie


method_summary Methods Summary

__init__Default class constructor.
GetFilledColourReturns the colour that progressively fills the ProgressPie.
GetMaxValueReturns the ProgressPie maximum value.
GetUnfilledColourReturns the colour that is filled.
GetValueReturns the ProgressPie value.
SetFilledColourSets the colour that progressively fills the ProgressPie .
SetMaxValueSets the ProgressPie maximum value.
SetUnfilledColourSets the colour that is filled.
SetValueSets the ProgressPie value.

API Class API

class ProgressPie(PieCtrl)[source]

ProgressPie tries to emulate the behavior of wx.ProgressDialog, but using a pie chart instead of a gauge.



__init__(parent, maxvalue, value, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0)[source]

Default class constructor.

Parameters:
  • parent – the PieCtrl parent. Must not be None;
  • id – window identifier. A value of -1 indicates a default value;
  • pos – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;
  • size – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;
  • style – the window style (unused);
  • name – the window name.


GetFilledColour()[source]

Returns the colour that progressively fills the ProgressPie.



GetMaxValue()[source]

Returns the ProgressPie maximum value.



GetUnfilledColour()[source]

Returns the colour that is filled.



GetValue()[source]

Returns the ProgressPie value.



SetFilledColour(colour)[source]

Sets the colour that progressively fills the ProgressPie .

Parameters:colour – a valid wx.Colour object.


SetMaxValue(value)[source]

Sets the ProgressPie maximum value.

Parameters:value – a floating point number representing the maximum value.


SetUnfilledColour(colour)[source]

Sets the colour that is filled.

Parameters:colour – a valid wx.Colour object.



SetValue(value)[source]

Sets the ProgressPie value.

Parameters:value – a floating point number representing the new value.
Tree

Table Of Contents

Previous topic

PiePart

Next topic

SVN Revision 68362 For piectrl