Used to convey validation information to and from functions that actually perform validation.
Mostly used in custom property classes.
GetFailureBehavior |
|
GetFailureMessage |
Returns current failure message. |
GetValue |
Returns reference to pending value. |
SetFailureBehavior |
Set validation failure behaviour. |
SetFailureMessage |
Set current failure message. |
FailureBehavior |
See GetFailureBehavior and SetFailureBehavior |
FailureMessage |
See GetFailureMessage and SetFailureMessage |
Value |
See GetValue |
wx.propgrid.
PGValidationInfo
(object)¶Used to convey validation information to and from functions that actually perform validation.
GetFailureBehavior
(self)¶Return type: | wx.propgrid.PGVFBFlags |
---|---|
Returns: | Returns failure behaviour which is a combination of PropertyGrid Validation Failure behaviour Flags. |
GetFailureMessage
(self)¶Returns current failure message.
Return type: | string |
---|
GetValue
(self)¶Returns reference to pending value.
Return type: | PGVariant |
---|
SetFailureBehavior
(self, failureBehavior)¶Set validation failure behaviour.
Parameters: | failureBehavior (wx.propgrid.PGVFBFlags) – Mixture of PropertyGrid Validation Failure behaviour Flags. |
---|
SetFailureMessage
(self, message)¶Set current failure message.
Parameters: | message (string) – |
---|
FailureBehavior
¶See GetFailureBehavior
and SetFailureBehavior
FailureMessage
¶See GetFailureMessage
and SetFailureMessage