Foundry.Input

g Foundry.Input Foundry.Input GObject.Object GObject.Object GObject.Object->Foundry.Input

Subclasses:

Foundry.InputChoice, Foundry.InputCombo, Foundry.InputFile, Foundry.InputFont, Foundry.InputGroup, Foundry.InputPassword, Foundry.InputSpin, Foundry.InputSwitch, Foundry.InputText

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

dup_subtitle ()

dup_title ()

dup_validator ()

validate ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

subtitle

str

r/w/co

title

str

r/w/co

validator

Foundry.InputValidator

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Foundry.Input(**kwargs)
Bases:

GObject.Object

Abstract:

Yes

Structure:

Foundry.InputClass

Base class for various types of user input.

Since Foundry does not rely on a specific toolkit or platform library input must be abstracted for tooling that requires it. FoundryInput is the base class for various types of input which may be requested of the user.

Applications should use a platform library that can convert these input requests into an interface.

dup_subtitle()
Return type:

str

dup_title()
Return type:

str

dup_validator()
Return type:

Foundry.InputValidator or None

validate()
Returns:

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

Return type:

Dex.Future

Property Details

Foundry.Input.props.subtitle
Name:

subtitle

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.Input.props.title
Name:

title

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.Input.props.validator
Name:

validator

Type:

Foundry.InputValidator

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY