libvtemm Reference Documentation |
Public Member Functions | |
Size (int columns, int rows, bool ok=true) | |
The only way to fill Gnome::Vte::Pty::Size class. | |
virtual | ~Size () |
int | get_columns () const |
Gets number of columns. | |
int | get_rows () const |
Gets number of rows. | |
bool | is_ok () const |
Checks if there was an error during getting size. |
Gnome::Vte::Pty::Size::Size | ( | int | columns, | |
int | rows, | |||
bool | ok = true | |||
) |
The only way to fill Gnome::Vte::Pty::Size class.
columns | Pseudo-terminals number of columns. | |
rows | Pseudo-terminals number of rows. | |
ok | false , if an error occured while getting size of pseudo-terminal. |
virtual Gnome::Vte::Pty::Size::~Size | ( | ) | [virtual] |
int Gnome::Vte::Pty::Size::get_columns | ( | ) | const |
Gets number of columns.
int Gnome::Vte::Pty::Size::get_rows | ( | ) | const |
Gets number of rows.
bool Gnome::Vte::Pty::Size::is_ok | ( | ) | const |
Checks if there was an error during getting size.
false
if something went wrong, otherwise true
.