diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-02 08:54:51 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-02 08:58:07 -0500 |
commit | f76109d8734983e696959df7e7dc62722d621ccf (patch) | |
tree | 8f8db2c6ca081675a3e8dc4dc63848bc0ad9f90a /gtk2_ardour/floating_text_entry.h | |
parent | e4e6f001036102aab8bee42516335ea236aa9644 (diff) |
use modal grab and event_is_inside_widget_window() to provide "expected" behaviour when editing in a FloatingTextEntry
Diffstat (limited to 'gtk2_ardour/floating_text_entry.h')
-rw-r--r-- | gtk2_ardour/floating_text_entry.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk2_ardour/floating_text_entry.h b/gtk2_ardour/floating_text_entry.h index 41ad7f6d35..0471a19596 100644 --- a/gtk2_ardour/floating_text_entry.h +++ b/gtk2_ardour/floating_text_entry.h @@ -33,12 +33,19 @@ class FloatingTextEntry : public ArdourWindow private: Gtk::Entry entry; + bool entry_changed; + + /* handlers for Entry events */ bool key_press (GdkEventKey*); + void activated (); + bool button_press (GdkEventButton*); + void changed (); + + /* handlers for window events */ + void on_realize (); void on_hide (); - void activated (); - }; #endif // __ardour_window_h__ |