diff options
Diffstat (limited to 'lib/gui')
| -rw-r--r-- | lib/gui/ewindow.cpp | 5 | ||||
| -rw-r--r-- | lib/gui/ewindow.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp index 622e8b0a..54a35958 100644 --- a/lib/gui/ewindow.cpp +++ b/lib/gui/ewindow.cpp @@ -43,6 +43,11 @@ void eWindow::setTitle(const std::string &string) event(evtTitleChanged); } +std::string eWindow::getTitle() const +{ + return m_title; +} + void eWindow::setFlag(int flags) { m_flags |= flags; diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index 33ad7a72..a5b92eda 100644 --- a/lib/gui/ewindow.h +++ b/lib/gui/ewindow.h @@ -13,6 +13,7 @@ public: eWindow(eWidgetDesktop *desktop); ~eWindow(); void setTitle(const std::string &string); + std::string getTitle() const; eWidget *child() { return m_child; } enum { |
