Ardour  9.0-pre0-582-g084a23a80d
WidgetOption Class Reference

#include <option_editor.h>

Inheritance diagram for WidgetOption:
[legend]

Public Member Functions

 WidgetOption (std::string const &i, std::string const &n, Gtk::Widget &w)
 
void add_to_page (OptionEditorPage *)
 
void parameter_changed (std::string const &)
 
void set_state_from_config ()
 
Gtk::Widgettip_widget ()
 
- Public Member Functions inherited from Option
 Option (std::string const &i, std::string const &n)
 
std::string id () const
 
- 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 ()
 

Private Attributes

Gtk::Widget_widget
 

Additional Inherited Members

- Protected Member Functions inherited from OptionEditorComponent
void maybe_add_note (OptionEditorPage *, int)
 
- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 
- Protected Attributes inherited from OptionEditorComponent
std::string _note
 
ArdourWidgets::Frame_frame
 
PBD::Configuration::Metadata const * _metadata
 

Detailed Description

Definition at line 619 of file option_editor.h.

Constructor & Destructor Documentation

◆ WidgetOption()

WidgetOption::WidgetOption ( std::string const &  i,
std::string const &  n,
Gtk::Widget w 
)

Member Function Documentation

◆ add_to_page()

void WidgetOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

◆ parameter_changed()

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

Called when a configuration parameter's value has changed.

Parameters
pparameter name

Reimplemented from Option.

Definition at line 625 of file option_editor.h.

◆ set_state_from_config()

void WidgetOption::set_state_from_config ( )
inlinevirtual

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

Implements Option.

Definition at line 626 of file option_editor.h.

◆ tip_widget()

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

Implements OptionEditorComponent.

Definition at line 628 of file option_editor.h.

Member Data Documentation

◆ _widget

Gtk::Widget* WidgetOption::_widget
private

Definition at line 631 of file option_editor.h.


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