Ardour  9.0-pre0-582-g084a23a80d
CheckOption Class Reference

#include <option_editor.h>

Inheritance diagram for CheckOption:
[legend]

Public Member Functions

 CheckOption (std::string const &, std::string const &, Glib::RefPtr< Gtk::Action > act)
 
void set_state_from_config ()
 
void parameter_changed (std::string const &)
 
void add_to_page (OptionEditorPage *)
 
void set_sensitive (bool yn)
 
Gtk::Widgettip_widget ()
 
- Public Member Functions inherited from OptionEditorComponent
 OptionEditorComponent ()
 
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *, bool expand=true)
 
void set_note (std::string const &)
 
virtual PBD::Configuration::Metadata const * get_metadata () const
 
void set_metadata (PBD::Configuration::Metadata const &)
 
void highlight ()
 
void end_highlight ()
 
- Public Member Functions inherited from Gtkmm2ext::Activatable
virtual ~Activatable ()
 
virtual void set_related_action (Glib::RefPtr< Gtk::Action > a)
 
Glib::RefPtr< Gtk::Actionget_related_action ()
 

Protected Member Functions

void action_toggled ()
 
void action_sensitivity_changed ()
 
void action_visibility_changed ()
 
virtual void toggled ()
 
- Protected Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 

Protected Attributes

Gtk::CheckButton_button
 UI button. More...
 
Gtk::Label_label
 label for button, so we can use markup More...
 
- Protected Attributes inherited from OptionEditorComponent
std::string _note
 
ArdourWidgets::Frame_frame
 
PBD::Configuration::Metadata const * _metadata
 
- Protected Attributes inherited from Gtkmm2ext::Activatable
Glib::RefPtr< Gtk::Action_action
 

Detailed Description

Just a Gtk Checkbutton, masquerading as an option component

Definition at line 207 of file option_editor.h.

Constructor & Destructor Documentation

◆ CheckOption()

CheckOption::CheckOption ( std::string const &  ,
std::string const &  ,
Glib::RefPtr< Gtk::Action act 
)

Member Function Documentation

◆ action_sensitivity_changed()

void CheckOption::action_sensitivity_changed ( )
inlineprotected

Definition at line 223 of file option_editor.h.

◆ action_toggled()

void CheckOption::action_toggled ( )
protected

◆ action_visibility_changed()

void CheckOption::action_visibility_changed ( )
inlineprotected

Definition at line 224 of file option_editor.h.

◆ add_to_page()

void CheckOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements OptionEditorComponent.

◆ parameter_changed()

void CheckOption::parameter_changed ( std::string const &  p)
inlinevirtual

Called when a configuration parameter's value has changed.

Parameters
pparameter name

Implements OptionEditorComponent.

Definition at line 212 of file option_editor.h.

◆ set_sensitive()

void CheckOption::set_sensitive ( bool  yn)
inline

Definition at line 215 of file option_editor.h.

◆ set_state_from_config()

void CheckOption::set_state_from_config ( )
inlinevirtual

Called to instruct the object to set its UI state from the configuration

Implements OptionEditorComponent.

Definition at line 211 of file option_editor.h.

◆ tip_widget()

Gtk::Widget& CheckOption::tip_widget ( )
inlinevirtual

Implements OptionEditorComponent.

Definition at line 219 of file option_editor.h.

◆ toggled()

virtual void CheckOption::toggled ( )
protectedvirtual

Member Data Documentation

◆ _button

Gtk::CheckButton* CheckOption::_button
protected

UI button.

Definition at line 228 of file option_editor.h.

◆ _label

Gtk::Label* CheckOption::_label
protected

label for button, so we can use markup

Definition at line 229 of file option_editor.h.


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