get_size


Description:

public bool get_size (out int rows, out int columns) throws Error

Reads the pseudo terminal's window size.

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

Parameters:

this

a Pty

rows

a location to store the number of rows, or null

columns

a location to store the number of columns, or null

Returns:

true on success, false on failure with error filled in




2022 vala-language.org