Pty.getSize

Reads the pseudo terminal's window size. If getting the window size failed, error will be set to a GIOError.

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

Parameters

rows int

a location to store the number of rows, or NULL. out[allow-none]

columns int

a location to store the number of columns, or NULL. out[allow-none]

Return Value

Type: int

TRUE on success, FALSE on failure with error filled in Since 0.26

Throws

GException on failure.

Meta