20 #ifndef __gtk_ardour_search_path_option_h__
21 #define __gtk_ardour_search_path_option_h__
25 #include <gtkmm/filechooserbutton.h>
26 #include <gtkmm/entry.h>
27 #include <gtkmm/button.h>
28 #include <gtkmm/box.h>
36 const std::string& default_path,
37 sigc::slot<std::string>, sigc::slot<bool, std::string>);
47 sigc::slot<std::string>
_get;
48 sigc::slot<bool, std::string>
_set;
66 void add_path (
const std::string& path,
bool removable=
true);
Gtk::FileChooserButton add_chooser
Gtk::Widget & tip_widget()
PathEntry(const std::string &path, bool removable=true)
SearchPathOption(const std::string &pathname, const std::string &label, const std::string &default_path, sigc::slot< std::string >, sigc::slot< bool, std::string >)
void set_state_from_config()
Base class for option editing dialog boxes.
Gtk::Button remove_button
void add_to_page(OptionEditorPage *)
void add_path(const std::string &path, bool removable=true)
void remove_path(PathEntry *)
std::list< PathEntry * > paths
sigc::slot< std::string > _get
slot to get the configuration variable's value
sigc::slot< bool, std::string > _set
slot to set the configuration variable's value