ardour
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
BindableToggleButton Class Reference

#include <bindable_button.h>

Inheritance diagram for BindableToggleButton:
Gtkmm2ext::StatefulToggleButton Gtkmm2ext::StateButton

Public Member Functions

 BindableToggleButton (const std::string &label)
 
 BindableToggleButton ()
 
virtual ~BindableToggleButton ()
 
bool on_button_press_event (GdkEventButton *ev)
 
boost::shared_ptr
< PBD::Controllable
get_controllable ()
 
void set_controllable (boost::shared_ptr< PBD::Controllable > c)
 
void watch ()
 
- Public Member Functions inherited from Gtkmm2ext::StatefulToggleButton
 StatefulToggleButton ()
 
 StatefulToggleButton (const std::string &label)
 
 ~StatefulToggleButton ()
 
void set_widget_name (const std::string &name)
 
- Public Member Functions inherited from Gtkmm2ext::StateButton
 StateButton ()
 
virtual ~StateButton ()
 
void set_visual_state (int)
 
int get_visual_state ()
 
void set_self_managed (bool yn)
 

Protected Member Functions

void controllable_changed ()
 
- Protected Member Functions inherited from Gtkmm2ext::StatefulToggleButton
void on_realize ()
 
void on_toggled ()
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &style)
 
void on_state_changed (Gtk::StateType old_state)
 
Gtk::Widget * get_child_widget ()
 
std::string get_widget_name () const
 
- Protected Member Functions inherited from Gtkmm2ext::StateButton
void avoid_prelight_on_style_changed (const Glib::RefPtr< Gtk::Style > &style, GtkWidget *widget)
 
void avoid_prelight_on_state_changed (Gtk::StateType old_state, GtkWidget *widget)
 

Protected Attributes

PBD::ScopedConnection watch_connection
 
- Protected Attributes inherited from Gtkmm2ext::StateButton
int visual_state
 
bool _self_managed
 
bool _is_realized
 
bool style_changing
 
Gtk::StateType state_before_prelight
 
bool is_toggle
 

Private Attributes

BindingProxy binding_proxy
 

Detailed Description

Definition at line 35 of file bindable_button.h.

Constructor & Destructor Documentation

BindableToggleButton::BindableToggleButton ( const std::string &  label)
inline

Definition at line 38 of file bindable_button.h.

BindableToggleButton::BindableToggleButton ( )
inline

Definition at line 40 of file bindable_button.h.

virtual BindableToggleButton::~BindableToggleButton ( )
inlinevirtual

Definition at line 42 of file bindable_button.h.

Member Function Documentation

void BindableToggleButton::controllable_changed ( )
protected

Definition at line 56 of file bindable_button.cc.

boost::shared_ptr<PBD::Controllable> BindableToggleButton::get_controllable ( )
inline

Definition at line 53 of file bindable_button.h.

bool BindableToggleButton::on_button_press_event ( GdkEventButton *  ev)
inline

Definition at line 44 of file bindable_button.h.

void BindableToggleButton::set_controllable ( boost::shared_ptr< PBD::Controllable c)

Definition at line 36 of file bindable_button.cc.

void BindableToggleButton::watch ( )

Definition at line 43 of file bindable_button.cc.

Member Data Documentation

BindingProxy BindableToggleButton::binding_proxy
private

Definition at line 62 of file bindable_button.h.

PBD::ScopedConnection BindableToggleButton::watch_connection
protected

Definition at line 59 of file bindable_button.h.


The documentation for this class was generated from the following files: