Class: Wx::PG::PGValidationInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/pg/pg_validation_info.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

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

Mostly used in custom property classes.

Requires:

  • USE_PROPGRID

Instance Method Summary collapse

Instance Method Details

#get_failure_behaviorInteger Also known as: failure_behavior

Returns failure behaviour which is a combination of wxPropertyGrid Validation Failure behaviour Flags.

Returns:

  • (Integer)


310
# File 'lib/wx/doc/gen/pg/pg_validation_info.rb', line 310

def get_failure_behavior; end

#get_failure_messageWx::String Also known as: failure_message

Returns current failure message.

Returns:

  • (Wx::String)


315
# File 'lib/wx/doc/gen/pg/pg_validation_info.rb', line 315

def get_failure_message; end

#get_valueWx::Variant Also known as: value

Returns reference to pending value.

Returns:



320
# File 'lib/wx/doc/gen/pg/pg_validation_info.rb', line 320

def get_value; end

#set_failure_behavior(failureBehavior) ⇒ void Also known as: failure_behavior=

This method returns an undefined value.

Set validation failure behaviour.

Parameters:

  • failureBehavior (Integer)

    Mixture of wxPropertyGrid Validation Failure behaviour Flags.



326
# File 'lib/wx/doc/gen/pg/pg_validation_info.rb', line 326

def set_failure_behavior(failureBehavior) end

#set_failure_message(message) ⇒ void Also known as: failure_message=

This method returns an undefined value.

Set current failure message.

Parameters:

  • message (String)


332
# File 'lib/wx/doc/gen/pg/pg_validation_info.rb', line 332

def set_failure_message(message) end