summaryrefslogtreecommitdiff
path: root/gtk2_ardour/search_path_option.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-10-10 23:28:07 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-10-10 23:28:07 +0000
commit1a530550196050dfe4a67732965ae3ddc3e1b077 (patch)
treef2f7692e22eb276673541cc4901733f55a78d3a4 /gtk2_ardour/search_path_option.h
parent71b7326576c773a14300fad7564c4f24d9c23c04 (diff)
add the notion of a "tip widget" for all option editor elements, allowing us to add tooltips to each item; add one such proto-tool-tip
git-svn-id: svn://localhost/ardour2/branches/3.0@13236 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/search_path_option.h')
-rw-r--r--gtk2_ardour/search_path_option.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/search_path_option.h b/gtk2_ardour/search_path_option.h
index ca752be012..f7cf9b5dcf 100644
--- a/gtk2_ardour/search_path_option.h
+++ b/gtk2_ardour/search_path_option.h
@@ -40,6 +40,8 @@ class SearchPathOption : public Option
void add_to_page (OptionEditorPage*);
void clear ();
+ Gtk::Widget& tip_widget() { return add_chooser; }
+
protected:
sigc::slot<std::string> _get; ///< slot to get the configuration variable's value
sigc::slot<bool, std::string> _set; ///< slot to set the configuration variable's value