|
libvtemm 0.25.0
|
Size - simple class holding size of a pseudo-terminal. More...
#include <libvtemm/ptysize.h>
Public Member Functions | |
| Size (int columns, int rows, bool ok=true) | |
| The only way to fill Gnome::Vte::Pty::Size class. | |
| 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. | |
Size - simple class holding size of a pseudo-terminal.
| 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. |
| 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.
1.7.4