#include <terminal.h>
Inheritance diagram for wftk::Terminal:
Public Member Functions | |
Terminal (const std::string &text="", const Font &font=Font(), bool readonly=true, bool fill=false) | |
Constructor. | |
void | scrollUp (int) |
Scroll terminal up (equivalent to clicking up-arrow of scroll bar). | |
void | scrollDown (int) |
Scroll terminal down (equivalent to clicking down-arrow of scroll bar). | |
void | scrollTo (int) |
Scroll to arbitrary location (called when dragging slider of scroll bar). | |
void | scroll2Top () |
Scroll terminal to the top. | |
void | scroll2Bottom () |
Scroll terminal to the bottom. | |
unsigned | linesCount () const |
Number of lines in this terminal. | |
unsigned | currentLine () const |
Current line. | |
Public Attributes | |
SigC::Signal0< void > | scrolled |
Emitted when terminal is scrolled. |
|
Constructor.
|
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.