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

#include <activatable.h>

Inheritance diagram for Gtkmm2ext::Activatable:
ArdourButton ArdourKnob ButtonJoiner ArdourDisplay ArdourDropdown

Public Member Functions

virtual ~Activatable ()
 
virtual void set_related_action (Glib::RefPtr< Gtk::Action > a)
 
Glib::RefPtr< Gtk::Action > get_related_action ()
 

Protected Attributes

Glib::RefPtr< Gtk::Action > _action
 

Detailed Description

A Widget with an associated Action.

Gtkmm itself has a class for this. I don't know why we don't use it.

Definition at line 35 of file activatable.h.

Constructor & Destructor Documentation

virtual Gtkmm2ext::Activatable::~Activatable ( )
inlinevirtual

Definition at line 37 of file activatable.h.

Member Function Documentation

Glib::RefPtr<Gtk::Action> Gtkmm2ext::Activatable::get_related_action ( )
inline

Definition at line 43 of file activatable.h.

virtual void Gtkmm2ext::Activatable::set_related_action ( Glib::RefPtr< Gtk::Action >  a)
inlinevirtual

Reimplemented in ArdourButton, and ButtonJoiner.

Definition at line 39 of file activatable.h.

Member Data Documentation

Glib::RefPtr<Gtk::Action> Gtkmm2ext::Activatable::_action
protected

Definition at line 48 of file activatable.h.


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