summaryrefslogtreecommitdiff
path: root/grc/gui/Notebook.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Notebook.py')
-rw-r--r--grc/gui/Notebook.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/grc/gui/Notebook.py b/grc/gui/Notebook.py
index 77f85fd5f2..8698e9334b 100644
--- a/grc/gui/Notebook.py
+++ b/grc/gui/Notebook.py
@@ -162,6 +162,15 @@ class Page(Gtk.HBox):
"""
self.label.set_markup(markup)
+ def set_tooltip(self, text):
+ """
+ Set the tooltip text in this label.
+
+ Args:
+ text: the new tooltip text
+ """
+ self.label.set_tooltip_text(text)
+
def get_read_only(self):
"""
Get the read-only state of the file.