Ardour  9.0-pre0-582-g084a23a80d
Gtkmm2ext::Activatable Class Reference

#include <activatable.h>

Inheritance diagram for Gtkmm2ext::Activatable:
[legend]

Public Member Functions

virtual ~Activatable ()
 
virtual void set_related_action (Glib::RefPtr< Gtk::Action > a)
 
Glib::RefPtr< Gtk::Actionget_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 34 of file gtkmm2ext/gtkmm2ext/activatable.h.

Constructor & Destructor Documentation

◆ ~Activatable()

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

Definition at line 36 of file gtkmm2ext/gtkmm2ext/activatable.h.

Member Function Documentation

◆ get_related_action()

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

Definition at line 42 of file gtkmm2ext/gtkmm2ext/activatable.h.

◆ set_related_action()

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

Reimplemented in ArdourWidgets::ArdourButton.

Definition at line 38 of file gtkmm2ext/gtkmm2ext/activatable.h.

Member Data Documentation

◆ _action

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

Definition at line 47 of file gtkmm2ext/gtkmm2ext/activatable.h.


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