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  };
SelectFileDialog::entry
Gtk::Entry entry
Definition: SelectFileDialog.hh:16
SelectFileDialog::SelectFileDialog
SelectFileDialog(const Glib::ustring &title, Gtk::Window &parent, bool modal=false)
Definition: SelectFileDialog.cc:3
SelectFileDialog
Definition: SelectFileDialog.hh:5
SelectFileDialog::choose
Gtk::Button choose
Definition: SelectFileDialog.hh:17
SelectFileDialog::hbox
Gtk::HBox hbox
Definition: SelectFileDialog.hh:18
SelectFileDialog::get_text
Glib::ustring get_text() const
Definition: SelectFileDialog.cc:27
SelectFileDialog::set_text
void set_text(const Glib::ustring &text)
Definition: SelectFileDialog.cc:22
SelectFileDialog::get_entry
Gtk::Entry & get_entry()
Definition: SelectFileDialog.cc:32
SelectFileDialog::choose_dialog
void choose_dialog()
Definition: SelectFileDialog.cc:37