set_size


Description:

public bool set_size (int rows, int columns) throws Error

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:

this

a Pty

rows

the desired number of rows

columns

the desired number of columns

Returns:

true on success, false on failure with error filled in




2022 vala-language.org