Pty.getSize

Reads the pseudo terminal's window size.

If getting the window size failed, error will be set to a GIOError

class Pty
bool
getSize
(
out int rows
,
out int columns
)

Parameters

rows int

a location to store the number of rows, or NULL

columns int

a location to store the number of columns, or NULL

Return Value

Type: bool

TRUE on success, FALSE on failure with error filled in

Throws

GException on failure.