ardour
Public Member Functions | Protected Member Functions | List of all members
Gtkmm2ext::StatefulToggleButton Class Reference

#include <stateful_button.h>

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

Public Member Functions

 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 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)
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 58 of file stateful_button.h.

Constructor & Destructor Documentation

StatefulToggleButton::StatefulToggleButton ( )

Definition at line 158 of file stateful_button.cc.

StatefulToggleButton::StatefulToggleButton ( const std::string &  label)
explicit

Definition at line 163 of file stateful_button.cc.

Gtkmm2ext::StatefulToggleButton::~StatefulToggleButton ( )
inline

Definition at line 63 of file stateful_button.h.

Member Function Documentation

Widget * StatefulToggleButton::get_child_widget ( )
protectedvirtual

Implements Gtkmm2ext::StateButton.

Definition at line 217 of file stateful_button.cc.

std::string Gtkmm2ext::StatefulToggleButton::get_widget_name ( ) const
inlineprotectedvirtual

Implements Gtkmm2ext::StateButton.

Definition at line 73 of file stateful_button.h.

void StatefulToggleButton::on_realize ( )
protected

Definition at line 170 of file stateful_button.cc.

void StatefulToggleButton::on_state_changed ( Gtk::StateType  old_state)
protected

Definition at line 210 of file stateful_button.cc.

void StatefulToggleButton::on_style_changed ( const Glib::RefPtr< Gtk::Style > &  style)
protected

Definition at line 203 of file stateful_button.cc.

void StatefulToggleButton::on_toggled ( )
protected

Definition at line 190 of file stateful_button.cc.

void StatefulToggleButton::set_widget_name ( const std::string &  name)
virtual

Implements Gtkmm2ext::StateButton.

Definition at line 223 of file stateful_button.cc.


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