Terminal.ptyNewSync

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

flags vte.types.PtyFlags

flags from #VtePtyFlags

cancellable gio.cancellable.Cancellable

a #GCancellable, or null

Return Value

Type: vte.pty.Pty

a new #VtePty