ardour
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Gtkmm2ext::StateButton Class Referenceabstract

#include <stateful_button.h>

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

Public Member Functions

 StateButton ()
 
virtual ~StateButton ()
 
void set_visual_state (int)
 
int get_visual_state ()
 
void set_self_managed (bool yn)
 
virtual void set_widget_name (const std::string &name)=0
 

Protected Member Functions

virtual std::string get_widget_name () const =0
 
virtual Gtk::Widget * get_child_widget ()=0
 
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

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 31 of file stateful_button.h.

Constructor & Destructor Documentation

StateButton::StateButton ( )

Definition at line 33 of file stateful_button.cc.

virtual Gtkmm2ext::StateButton::~StateButton ( )
inlinevirtual

Definition at line 35 of file stateful_button.h.

Member Function Documentation

void StateButton::avoid_prelight_on_state_changed ( Gtk::StateType  old_state,
GtkWidget *  widget 
)
protected

Definition at line 121 of file stateful_button.cc.

void StateButton::avoid_prelight_on_style_changed ( const Glib::RefPtr< Gtk::Style > &  style,
GtkWidget *  widget 
)
protected

Definition at line 81 of file stateful_button.cc.

virtual Gtk::Widget* Gtkmm2ext::StateButton::get_child_widget ( )
protectedpure virtual
int Gtkmm2ext::StateButton::get_visual_state ( )
inline

Definition at line 38 of file stateful_button.h.

virtual std::string Gtkmm2ext::StateButton::get_widget_name ( ) const
protectedpure virtual
void Gtkmm2ext::StateButton::set_self_managed ( bool  yn)
inline

Definition at line 39 of file stateful_button.h.

void StateButton::set_visual_state ( int  n)

Definition at line 44 of file stateful_button.cc.

virtual void Gtkmm2ext::StateButton::set_widget_name ( const std::string &  name)
pure virtual

Member Data Documentation

bool Gtkmm2ext::StateButton::_is_realized
protected

Definition at line 45 of file stateful_button.h.

bool Gtkmm2ext::StateButton::_self_managed
protected

Definition at line 44 of file stateful_button.h.

bool Gtkmm2ext::StateButton::is_toggle
protected

Definition at line 48 of file stateful_button.h.

Gtk::StateType Gtkmm2ext::StateButton::state_before_prelight
protected

Definition at line 47 of file stateful_button.h.

bool Gtkmm2ext::StateButton::style_changing
protected

Definition at line 46 of file stateful_button.h.

int Gtkmm2ext::StateButton::visual_state
protected

Definition at line 43 of file stateful_button.h.


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