projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into windows
[ardour.git]
/
libs
/
gtkmm2ext
/
gtkmm2ext
/
prompter.h
diff --git
a/libs/gtkmm2ext/gtkmm2ext/prompter.h
b/libs/gtkmm2ext/gtkmm2ext/prompter.h
index 10870ee7522909eb2e649a8b4bc4cf396927a378..72d9f2149bdf0bfc066958bbaedad363d64f6a87 100644
(file)
--- a/
libs/gtkmm2ext/gtkmm2ext/prompter.h
+++ b/
libs/gtkmm2ext/gtkmm2ext/prompter.h
@@
-53,17
+53,22
@@
class Prompter : public Gtk::Dialog
void change_labels (std::string ok, std::string cancel);
void get_result (std::string &str, bool strip=true);
void change_labels (std::string ok, std::string cancel);
void get_result (std::string &str, bool strip=true);
- bool maybe_allow_response (GdkEventKey* );
protected:
Gtk::Entry& the_entry() { return entry; }
protected:
Gtk::Entry& the_entry() { return entry; }
+ void on_entry_changed ();
+ void on_show ();
+
private:
Gtk::Entry entry;
Gtk::HBox entryBox;
Gtk::Label entryLabel;
private:
Gtk::Entry entry;
Gtk::HBox entryBox;
Gtk::Label entryLabel;
-
+ bool first_show;
+ bool can_accept_from_entry;
+
void init ();
void init ();
+ void entry_activated ();
};
} /* namespace */
};
} /* namespace */