Foundry.TerminalService

g Foundry.Contextual Foundry.Contextual Foundry.Service Foundry.Service Foundry.Contextual->Foundry.Service Foundry.TerminalService Foundry.TerminalService Foundry.Service->Foundry.TerminalService GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

Foundry.ServiceClass (3), GObject.ObjectClass (5)

launch (lancher)

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5)

Properties

Inherited:

Foundry.Contextual (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.TerminalService(**kwargs)
Bases:

Foundry.Service

Abstract:

No

Structure:

Foundry.TerminalServiceClass

Service providing convenient access to terminal operations.

launch(lancher)
Parameters:

lancher (Foundry.TerminalLauncher) –

Returns:

A [class`Dex`.Future] that resolves to any value if succesfull; otherwise rejects with error.

Return type:

Dex.Future

Requests that a new terminal be launched.

This function will create a [class`Foundry`.TerminalIntent] which the application may handle to show a terminal.

New in version 1.1.