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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp
index df800545a..2dda941f2 100644
--- a/src/ui/widget/labelled.cpp
+++ b/src/ui/widget/labelled.cpp
@@ -71,6 +71,12 @@ 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);
+}
} // namespace Widget
} // namespace UI