Foundry.InputChoice

g Foundry.Input Foundry.Input Foundry.InputChoice Foundry.InputChoice Foundry.Input->Foundry.InputChoice 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, item)

dup_item ()

get_selected ()

set_selected (selected)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Foundry.Input (3)

Name

Type

Flags

Short Description

item

GObject.Object

r/w/co

selected

bool

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.InputChoice(**kwargs)
Bases:

Foundry.Input

Abstract:

No

Structure:

Foundry.InputChoiceClass

classmethod new(title, subtitle, item)
Parameters:
Return type:

Foundry.Input

dup_item()
Return type:

GObject.Object or None

Gets the item for the choice, if any.

get_selected()
Return type:

bool

set_selected(selected)
Parameters:

selected (bool) –

Property Details

Foundry.InputChoice.props.item
Name:

item

Type:

GObject.Object

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.InputChoice.props.selected
Name:

selected

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY