provide the ability to enable + disable tooltips

git-svn-id: svn://localhost/ardour2/branches/3.0@13505 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-11-14 23:23:53 +00:00
parent ff4ea9346b
commit 60f85cac42
5 changed files with 33 additions and 0 deletions

View file

@ -650,3 +650,15 @@ Gtkmm2ext::set_no_tooltip_whatsoever (Gtk::Widget& w)
w.property_has_tooltip() = true;
w.signal_query_tooltip().connect (sigc::ptr_fun (make_null_tooltip));
}
void
Gtkmm2ext::enable_tooltips ()
{
gtk_rc_parse_string ("gtk-enable-tooltips = 1");
}
void
Gtkmm2ext::disable_tooltips ()
{
gtk_rc_parse_string ("gtk-enable-tooltips = 0");
}