Terminal.ptyNewSync

vte.pty.Pty ptyNewSync(vte.types.PtyFlags flags, gio.cancellable.Cancellable cancellable = null)

Creates a new #VtePty, sets the emulation property from #VteTerminal:emulation, and sets the size using terminal's size.

See vte_pty_new() for more information.

Parameters

flagsflags from #VtePtyFlags
cancellablea #GCancellable, or null

Returns

a new #VtePty

Throws

[ErrorWrap]