Foundry.InputValidator

g Foundry.InputValidator Foundry.InputValidator GObject.Object GObject.Object GObject.Object->Foundry.InputValidator

Subclasses:

Foundry.InputValidatorDelegate, Foundry.InputValidatorRegex

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

validate (input)

Virtual Methods

Inherited:

GObject.Object (7)

do_validate (input)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Foundry.InputValidator(**kwargs)
Bases:

GObject.Object

Abstract:

Yes

Structure:

Foundry.InputValidatorClass

validate(input)
Parameters:

input (Foundry.Input) – a [class`Foundry`.Input]

Returns:

a [class`Dex`.Future] that resolves to any value or rejects with error.

Return type:

Dex.Future

do_validate(input) virtual
Parameters:

input (Foundry.Input) – a [class`Foundry`.Input]

Returns:

a [class`Dex`.Future] that resolves to any value or rejects with error.

Return type:

Dex.Future