Foundry.InputCombo

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

Subclasses:

None

Methods

Inherited:

Foundry.Input (4), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (title, subtitle, validator, choices)

dup_choice ()

list_choices ()

set_choice (choice)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Foundry.Input (3)

Name

Type

Flags

Short Description

choice

Foundry.InputChoice

r/w/en

choices

Gio.ListModel

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.InputCombo(**kwargs)
Bases:

Foundry.Input

Abstract:

No

Structure:

Foundry.InputComboClass

classmethod new(title, subtitle, validator, choices)
Parameters:
Return type:

Foundry.Input

dup_choice()
Return type:

Foundry.InputChoice or None

list_choices()
Returns:

a [iface`Gio`.ListModel] of [class`Foundry`.InputChoice].

Return type:

Gio.ListModel or None

set_choice(choice)
Parameters:

choice (Foundry.InputChoice) –

Property Details

Foundry.InputCombo.props.choice
Name:

choice

Type:

Foundry.InputChoice

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Foundry.InputCombo.props.choices
Name:

choices

Type:

Gio.ListModel

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY