wx.propgrid.PropertyCategory¶Category (caption) property.
Class Hierarchy¶
Inheritance diagram for class PropertyCategory:
Methods Summary¶Default constructor is only used in special cases. |
|
Returns text representation of property’s value. |
|
Converts property value into a text representation. |
Properties Summary¶See |
Class API¶Possible constructors:
PropertyCategory() -> None
PropertyCategory(label, name=PG_LABEL) -> None
Category (caption) property.
__init__ (self)
Default constructor is only used in special cases.
None
__init__ (self, label, name=PG_LABEL)
label (string)
name (string)
None
Returns text representation of property’s value.
argFlags (int) – If 0 (default value), then displayed string is returned. If PG_FULL_VALUE is set, returns complete, storable string value instead of displayable. If PG_EDITABLE_VALUE is set, returns string value that must be editable in textctrl. If PG_COMPOSITE_FRAGMENT is set, returns text that is appropriate to display as a part of string property’s composite text representation.
str
Note
In older versions, this function used to be overridden to convert property’s value into a string representation. This function is now handled by ValueToString , and overriding this function now will result in run-time assertion failure.
Converts property value into a text representation.
value (PGVariant) – Value to be converted.
argFlags (int) – If 0 (default value), then displayed string is returned. If PG_FULL_VALUE is set, returns complete, storable string value instead of displayable. If PG_EDITABLE_VALUE is set, returns string value that must be editable in textctrl. If PG_COMPOSITE_FRAGMENT is set, returns text that is appropriate to display as a part of string property’s composite text representation.
str
Note
Default implementation calls GenerateComposedValue .
See GetValueAsString