Gnome::Vte::Pty::Size Class Reference
Size - simple class holding size of a pseudo-terminal. More...
List of all members.
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.
|
Detailed Description
Size - simple class holding size of a pseudo-terminal.
Constructor & Destructor Documentation
| Gnome::Vte::Pty::Size::Size |
( |
int |
columns, |
|
|
int |
rows, |
|
|
bool |
ok = true | |
|
) |
| | |
The only way to fill Gnome::Vte::Pty::Size class.
- Parameters:
-
| 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] |
Member Function Documentation
| int Gnome::Vte::Pty::Size::get_columns |
( |
|
) |
const |
Gets number of columns.
- Returns:
- Number of columns.
| int Gnome::Vte::Pty::Size::get_rows |
( |
|
) |
const |
Gets number of rows.
- Returns:
- Number of rows.
| bool Gnome::Vte::Pty::Size::is_ok |
( |
|
) |
const |
Checks if there was an error during getting size.
- Returns:
false if something went wrong, otherwise true.
The documentation for this class was generated from the following file: