wx.lib.agw.piectrl.PiePart¶This class handles the legend segments properties, such as value, colour and label.
Methods Summary¶__init__ |
Default class constructor. |
GetColour |
Returns the segment colour. |
GetLabel |
Returns the segment label. |
GetValue |
Returns the segment absolute value. |
SetColour |
Sets the segment colour. |
SetLabel |
Sets the segment label. |
SetValue |
Sets the segment absolute value. |
Class API¶PiePart(object)¶This class handles the legend segments properties, such as value, colour and label.
__init__(self, value=0, colour=wx.BLACK, label="")¶Default class constructor.
| Parameters: |
|
|---|
GetColour(self)¶Returns the segment colour.
GetLabel(self)¶Returns the segment label.
GetValue(self)¶Returns the segment absolute value.
SetLabel(self, label)¶Sets the segment label.
| Parameters: | label – the pie part text label. |
|---|