 
       wx.propgrid.BoolProperty¶
  wx.propgrid.BoolProperty¶Basic property with boolean value.
Supported special attributes:
 Methods Summary¶
 Methods Summary¶| __init__ | |
| DoSetAttribute | Reimplement this member function to add special handling for attributes of this property. | 
| IntToValue | Converts integer (possibly a choice selection) into Variant value appropriate for this property. | 
| StringToValue | Converts text into Variant value appropriate for this property. | 
| ValueToString | Converts property value into a text representation. | 
 Class API¶
 Class API¶wx.propgrid.BoolProperty(PGProperty)¶Possible constructors:
BoolProperty(label=PG_LABEL, name=PG_LABEL, value=False)
Basic property with boolean value.
__init__(self, label=PG_LABEL, name=PG_LABEL, value=False)¶| Parameters: | 
 | 
|---|
DoSetAttribute(self, name, value)¶Reimplement this member function to add special handling for attributes of this property.
| Parameters: | 
 | 
|---|---|
| Return type: | bool | 
| Returns: | Return  | 
Note
To actually set property attribute values from the application, use wx.propgrid.PGProperty.SetAttribute   instead.
IntToValue(self, number, argFlags=0)¶Converts integer (possibly a choice selection) into Variant value appropriate for this property.
| Parameters: | 
 | 
|---|---|
| Return type: | tuple | 
| Returns: | ( bool, variant ) | 
Note
StringToValue(self, text, argFlags=0)¶Converts text into Variant value appropriate for this property.
| Parameters: | 
 | 
|---|---|
| Return type: | tuple | 
You might want to take into account that m_value is Null variant if property value is unspecified (which is usually only case if you explicitly enabled that sort behaviour).
| Returns: | ( bool, variant ) | 
|---|
Note
Default implementation converts semicolon delimited tokens into child values. Only works for properties with children.
ValueToString(self, value, argFlags=0)¶Converts property value into a text representation.
| Parameters: | 
 | 
|---|---|
| Return type: | 
 | 
Note
Default implementation calls GenerateComposedValue .