33 #include <ytkmm/box.h>
34 #include <ytkmm/button.h>
35 #include <ytkmm/checkbutton.h>
36 #include <ytkmm/entry.h>
37 #include <ytkmm/label.h>
38 #include <ytkmm/liststore.h>
39 #include <ytkmm/notebook.h>
40 #include <ytkmm/table.h>
41 #include <ytkmm/textview.h>
42 #include <ytkmm/treemodel.h>
43 #include <ytkmm/treeview.h>
248 struct Columns :
public Gtk::TreeModel::ColumnRecord
251 Gtk::TreeModelColumn<std::string>
field;
252 Gtk::TreeModelColumn<std::string>
values;
253 Gtk::TreeModelColumn<bool>
import;
254 Gtk::TreeModelColumn<MetadataPtr>
data;
259 Glib::RefPtr<Gtk::ListStore>
tree;
275 template <
typename DataSet>
MetadataField that contains longform text.
LongTextMetadataField(Getter getter, Setter setter, std::string const &field_name, guint width=50)
Gtk::Widget & edit_widget()
Get widget for editing value.
MetadataField that contains text.
void save_data(ARDOUR::SessionMetadata &data) const
Gtk::Widget & value_widget()
Get label containing value of field.
TextMetadataField(Getter getter, Setter setter, std::string const &field_name, guint width=50)
Gtk::Widget & name_widget()
Get widget containing name of field.
Gtk::Widget & edit_widget()
Get widget for editing value.
void(ARDOUR::SessionMetadata::* Setter)(std::string const &)
std::string(ARDOUR::SessionMetadata::* Getter)() const
void load_data(ARDOUR::SessionMetadata const &data)
PBD::PropertyDescriptor< std::string > name