phoenix_title wx.propgrid.PGValidationInfo

Used to convey validation information to and from functions that actually perform validation.

Mostly used in custom property classes.


class_hierarchy Class Hierarchy

Inheritance diagram for class PGValidationInfo:

method_summary Methods Summary

GetFailureBehavior

GetFailureMessage

Returns current failure message.

GetValue

Returns reference to pending value.

SetFailureBehavior

Set validation failure behaviour.

SetFailureMessage

Set current failure message.


property_summary Properties Summary

FailureBehavior

See GetFailureBehavior and SetFailureBehavior

FailureMessage

See GetFailureMessage and SetFailureMessage

Value

See GetValue


api Class API

class wx.propgrid.PGValidationInfo(object)

Used to convey validation information to and from functions that actually perform validation.


Methods

GetFailureBehavior(self)
Return type:

wx.byte

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.byte) – Mixture of PropertyGrid Validation Failure behaviour Flags.



SetFailureMessage(self, message)

Set current failure message.

Parameters:

message (string) –


Properties

FailureBehavior

See GetFailureBehavior and SetFailureBehavior



FailureMessage

See GetFailureMessage and SetFailureMessage



Value

See GetValue