wx.propgrid.PGValidationInfo¶Used to convey validation information to and from functions that actually perform validation.
Mostly used in custom property classes.
Class Hierarchy¶
Inheritance diagram for class PGValidationInfo:
Methods Summary¶Returns current failure message. |
|
Returns reference to pending value. |
|
Set validation failure behaviour. |
|
Set current failure message. |
Properties Summary¶See |
|
See |
|
See |
Class API¶wx.propgrid.PGValidationInfo(object)¶Used to convey validation information to and from functions that actually perform validation.
GetFailureBehavior(self)¶int
Returns failure behaviour which is a combination of PropertyGrid Validation Failure behaviour Flags.
GetFailureMessage(self)¶Returns current failure message.
str
GetValue(self)¶Returns reference to pending value.
PGVariant
SetFailureBehavior(self, failureBehavior : int)¶Set validation failure behaviour.
failureBehavior (wx.byte) – Mixture of PropertyGrid Validation Failure behaviour Flags.
None
SetFailureMessage(self, message : str)¶Set current failure message.
message (string) –
None
FailureBehavior¶See GetFailureBehavior and SetFailureBehavior
FailureMessage¶See GetFailureMessage and SetFailureMessage