Pty.setSize

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.

class Pty
bool
setSize
(
int rows
,)

Parameters

rows int

the desired number of rows

columns int

the desired number of columns

Return Value

Type: bool

%TRUE on success, %FALSE on failure with @error filled in

Throws

GException on failure.

Meta