Terminal.ptyNewSync

Creates a new vte.Pty, and sets the emulation property from emulation.

See Pty.new for more information.

class Terminal
ptyNewSync

Parameters

flags VtePtyFlags

flags from VtePtyFlags

cancellable Cancellable

a gio.Cancellable, or NULL

Return Value

Type: Pty

a new vte.Pty

Throws

GException on failure.