ardour
Public Member Functions | Private Member Functions | Private Attributes | List of all members
EntryOption Class Reference

#include <option_editor.h>

Inheritance diagram for EntryOption:
Option OptionEditorComponent

Public Member Functions

 EntryOption (std::string const &, std::string const &, sigc::slot< std::string >, sigc::slot< bool, std::string >)
 
void set_state_from_config ()
 
void add_to_page (OptionEditorPage *)
 
void set_sensitive (bool)
 
void set_invalid_chars (std::string i)
 
Gtk::Widget & tip_widget ()
 
- Public Member Functions inherited from Option
 Option (std::string const &i, std::string const &n)
 
void parameter_changed (std::string const &p)
 
std::string id () const
 
- Public Member Functions inherited from OptionEditorComponent
virtual ~OptionEditorComponent ()
 
void add_widget_to_page (OptionEditorPage *, Gtk::Widget *)
 
void add_widgets_to_page (OptionEditorPage *, Gtk::Widget *, Gtk::Widget *)
 
void set_note (std::string const &)
 

Private Member Functions

void activated ()
 
bool focus_out (GdkEventFocus *)
 
void filter_text (const Glib::ustring &, int *)
 

Private Attributes

sigc::slot< std::string > _get
 slot to get the configuration variable's value More...
 
sigc::slot< bool, std::string > _set
 slot to set the configuration variable's value More...
 
Gtk::Label * _label
 UI label. More...
 
Gtk::Entry * _entry
 UI entry. More...
 
std::string _invalid
 

Additional Inherited Members

- Protected Attributes inherited from Option
std::string _id
 
std::string _name
 

Detailed Description

Component which provides the UI to handle a string option using a GTK Entry

Definition at line 210 of file option_editor.h.

Constructor & Destructor Documentation

EntryOption::EntryOption ( std::string const &  ,
std::string const &  ,
sigc::slot< std::string >  ,
sigc::slot< bool, std::string >   
)

Definition at line 158 of file option_editor.cc.

Member Function Documentation

void EntryOption::activated ( )
private

Definition at line 201 of file option_editor.cc.

void EntryOption::add_to_page ( OptionEditorPage )
virtual

Called to instruct the object to add itself to an OptionEditorPage

Implements Option.

Definition at line 171 of file option_editor.cc.

void EntryOption::filter_text ( const Glib::ustring &  ,
int *   
)
private

Definition at line 189 of file option_editor.cc.

bool EntryOption::focus_out ( GdkEventFocus *  )
private

Definition at line 207 of file option_editor.cc.

void EntryOption::set_invalid_chars ( std::string  i)
inline

Definition at line 218 of file option_editor.h.

void EntryOption::set_sensitive ( bool  s)

Definition at line 183 of file option_editor.cc.

void EntryOption::set_state_from_config ( )
virtual

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

Implements Option.

Definition at line 177 of file option_editor.cc.

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

Implements OptionEditorComponent.

Definition at line 220 of file option_editor.h.

Member Data Documentation

Gtk::Entry* EntryOption::_entry
private

UI entry.

Definition at line 231 of file option_editor.h.

sigc::slot<std::string> EntryOption::_get
private

slot to get the configuration variable's value

Definition at line 228 of file option_editor.h.

std::string EntryOption::_invalid
private

Definition at line 232 of file option_editor.h.

Gtk::Label* EntryOption::_label
private

UI label.

Definition at line 230 of file option_editor.h.

sigc::slot<bool, std::string> EntryOption::_set
private

slot to set the configuration variable's value

Definition at line 229 of file option_editor.h.


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