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

#include <stateful_button.h>

Inheritance diagram for Gtkmm2ext::StatefulButton:
Gtkmm2ext::StateButton BindableButton

Public Member Functions

 StatefulButton ()
 
 StatefulButton (const std::string &label)
 
virtual ~StatefulButton ()
 
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_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 76 of file stateful_button.h.

Constructor & Destructor Documentation

StatefulButton::StatefulButton ( )

Definition at line 235 of file stateful_button.cc.

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

Definition at line 239 of file stateful_button.cc.

virtual Gtkmm2ext::StatefulButton::~StatefulButton ( )
inlinevirtual

Definition at line 81 of file stateful_button.h.

Member Function Documentation

Widget * StatefulButton::get_child_widget ( )
protectedvirtual

Implements Gtkmm2ext::StateButton.

Definition at line 259 of file stateful_button.cc.

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

Implements Gtkmm2ext::StateButton.

Definition at line 90 of file stateful_button.h.

void StatefulButton::on_realize ( )
protected

Definition at line 180 of file stateful_button.cc.

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

Definition at line 252 of file stateful_button.cc.

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

Definition at line 245 of file stateful_button.cc.

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

Implements Gtkmm2ext::StateButton.

Definition at line 265 of file stateful_button.cc.


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