20 #ifndef __pbd_gtkmm_abutton_h__
21 #define __pbd_gtkmm_abutton_h__
25 #include <gtkmm/togglebutton.h>
37 void set_visual_state (
int);
40 virtual void set_widget_name (
const std::string&
name) = 0;
50 virtual std::string get_widget_name()
const = 0;
51 virtual Gtk::Widget* get_child_widget () = 0;
53 void avoid_prelight_on_style_changed (
const Glib::RefPtr<Gtk::Style>& style, GtkWidget* widget);
54 void avoid_prelight_on_state_changed (Gtk::StateType old_state, GtkWidget* widget);
64 void set_widget_name (
const std::string&
name);
69 void on_style_changed (
const Glib::RefPtr<Gtk::Style>& style);
70 void on_state_changed (Gtk::StateType old_state);
72 Gtk::Widget* get_child_widget ();
82 void set_widget_name (
const std::string&
name);
86 void on_style_changed (
const Glib::RefPtr<Gtk::Style>& style);
87 void on_state_changed (Gtk::StateType old_state);
89 Gtk::Widget* get_child_widget ();