summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/labelled.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget/labelled.cpp')
-rw-r--r--src/ui/widget/labelled.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp
index df800545a..6e3652830 100644
--- a/src/ui/widget/labelled.cpp
+++ b/src/ui/widget/labelled.cpp
@@ -71,6 +71,17 @@ Labelled::setLabelText(const Glib::ustring &str)
_label->set_text(str);
}
+void
+Labelled::setTooltipText(const Glib::ustring &tooltip)
+{
+ _label->set_tooltip_text(tooltip);
+ _widget->set_tooltip_text(tooltip);
+}
+
+bool Labelled::on_mnemonic_activate ( bool group_cycling )
+{
+ return _widget->mnemonic_activate ( group_cycling );
+}
} // namespace Widget
} // namespace UI