fix the cairo-fletcher-fluctuation
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / prompter.h
index 5f714632889143571e96754f260ef5b3f592ef66..3499479073e86e5155bef07f1186a13bdb96fb42 100644 (file)
 #include <gtkmm/dialog.h>
 #include <sigc++/sigc++.h>
 
+#include "gtkmm2ext/visibility.h"
+
 namespace Gtk {
        class Window;
 }
 
 namespace Gtkmm2ext {
 
-class Prompter : public Gtk::Dialog
+class LIBGTKMM2EXT_API Prompter : public Gtk::Dialog
 
 {
   public:
@@ -58,13 +60,17 @@ class Prompter : public Gtk::Dialog
        Gtk::Entry& the_entry() { return entry; }
 
        void on_entry_changed ();
+       void on_show ();
 
   private:
        Gtk::Entry entry;
        Gtk::HBox entryBox;
        Gtk::Label entryLabel;
-       
+       bool first_show;
+       bool can_accept_from_entry;
+
        void init ();
+       void entry_activated ();
 };
 
 } /* namespace */