Vte.Pty.set_size

### Method

# Vte Ptyset_size

#### Declaration [src]

    gboolean
    vte_pty_set_size (
      VtePty* pty,
      int rows,
      int columns,
      GError** error
    )

#### Description [src]

Attempts to resize the pseudo terminal’s window size. If successful, the OS kernel will send SIGWINCH to the child process group.

If setting the window size failed, `error` will be set to a `GIOError`.

#### Parameters

`rows` | `int`
| The desired number of rows.
`columns` | `int`
| The desired number of columns.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` on success, `FALSE` on failure with `error` filled in.