Foundry.Language

g Foundry.Language Foundry.Language GObject.Object GObject.Object GObject.Object->Foundry.Language

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

find (id)

class

list_all ()

class

new (id, name, meson_id)

equal (other)

get_id ()

get_meson_id ()

get_name ()

hash ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

id

str

r/w/co

meson-id

str

r/w/co

name

str

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.Language(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Foundry.LanguageClass

Represents a programming language or syntax.

classmethod find(id)
Parameters:

id (str) – the id of the language

Return type:

Foundry.Language

classmethod list_all()
Returns:

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

Return type:

Gio.ListModel

classmethod new(id, name, meson_id)
Parameters:
  • id (str) –

  • name (str) –

  • meson_id (str) –

Return type:

Foundry.Language

equal(other)
Parameters:

other (Foundry.Language) –

Return type:

bool

get_id()
Return type:

str

get_meson_id()
Return type:

str or None

get_name()
Return type:

str

hash()
Return type:

int

Property Details

Foundry.Language.props.id
Name:

id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.Language.props.meson_id
Name:

meson-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.Language.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY