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