Method

VteTerminalpty_new_sync

Declaration [src]

VtePty*
vte_terminal_pty_new_sync (
  VteTerminal* terminal,
  VtePtyFlags flags,
  GCancellable* cancellable,
  GError** error
)

Description [src]

Creates a new VtePty, sets the emulation property from VteTerminal:emulation, and sets the size using terminals size.

See vte_pty_new() for more information.

Parameters

flags VtePtyFlags
 

Flags from VtePtyFlags.

cancellable GCancellable
 

A GCancellable, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: VtePty
 

A new VtePty.

 The caller of the method takes ownership of the data, and is responsible for freeing it.