mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
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:
parent
ff4ea9346b
commit
60f85cac42
5 changed files with 33 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue