Cadabra
Computer algebra system for field theory problems
SelectFileDialog.hh
Go to the documentation of this file.
1 #include <gtkmm.h>
2 
3 class SelectFileDialog : public Gtk::Dialog {
4  public:
5  SelectFileDialog(const Glib::ustring& title, Gtk::Window& parent, bool modal = false);
6 
7  void set_text(const Glib::ustring& text);
8  Glib::ustring get_text() const;
9  Gtk::Entry& get_entry();
10 
11  protected:
12  void choose_dialog();
13 
14  Gtk::Entry entry;
15  Gtk::Button choose;
16  Gtk::HBox hbox;
17  };
Gtk::Entry & get_entry()
Definition: SelectFileDialog.cc:32
SelectFileDialog(const Glib::ustring &title, Gtk::Window &parent, bool modal=false)
Definition: SelectFileDialog.cc:3
void choose_dialog()
Definition: SelectFileDialog.cc:37
Glib::ustring get_text() const
Definition: SelectFileDialog.cc:27
Gtk::Entry entry
Definition: SelectFileDialog.hh:14
Gtk::Button choose
Definition: SelectFileDialog.hh:15
Gtk::HBox hbox
Definition: SelectFileDialog.hh:16
void set_text(const Glib::ustring &text)
Definition: SelectFileDialog.cc:22
Definition: SelectFileDialog.hh:3