wx.propgrid.ColourProperty¶
Methods Summary¶__init__ |
|
GetColour |
Default is to use SystemSettings.GetColour(index). |
ValueToString |
Converts property value into a text representation. |
Class API¶wx.propgrid.ColourProperty(SystemColourProperty)¶Possible constructors:
ColourProperty(label=PG_LABEL, name=PG_LABEL, value=WHITE)
__init__(self, label=PG_LABEL, name=PG_LABEL, value=WHITE)¶| Parameters: |
|
|---|
GetColour(self, index)¶Default is to use SystemSettings.GetColour(index).
Override to use custom colour tables etc.
| Parameters: | index (int) – |
|---|---|
| Return type: | Colour |
ValueToString(self, value, argFlags=0)¶Converts property value into a text representation.
| Parameters: |
|
|---|---|
| Return type: |
|
Note
Default implementation calls GenerateComposedValue .