20 #include <gtkmm/stock.h>
36 , file_chooser (
Gtk::FILE_CHOOSER_ACTION_SAVE)
38 set_border_width (12);
40 add_button (Gtk::Stock::SAVE, Gtk::RESPONSE_ACCEPT);
41 add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
43 get_vbox()->set_border_width (12);
46 set_default_response (Gtk::RESPONSE_ACCEPT);
51 file_chooser.signal_file_activated().connect (sigc::bind (sigc::mem_fun (*
this, &MidiExportDialog::response), Gtk::RESPONSE_ACCEPT));
LIBARDOUR_API const char *const export_dir_name
Representation of the interface of the Editor class.
void set_session(ARDOUR::Session *)
Gtk::FileChooserWidget file_chooser
MidiExportDialog(PublicEditor &editor, boost::shared_ptr< ARDOUR::MidiRegion >)
std::string get_path() const
virtual void set_session(ARDOUR::Session *)
std::string string_compose(const std::string &fmt, const T1 &o1)