summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_dialog.h')
-rw-r--r--gtk2_ardour/ardour_dialog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_dialog.h b/gtk2_ardour/ardour_dialog.h
index b2c531b0d0..44c731b36c 100644
--- a/gtk2_ardour/ardour_dialog.h
+++ b/gtk2_ardour/ardour_dialog.h
@@ -40,6 +40,9 @@ class ArdourDialog : public Gtk::Dialog
ArdourDialog (Gtk::Window& parent, std::string title, bool modal = false, bool use_separator = false);
~ArdourDialog();
+ static int close_all_current_dialogs (int response);
+
+ bool on_key_press_event (GdkEventKey *);
bool on_enter_notify_event (GdkEventCrossing*);
bool on_leave_notify_event (GdkEventCrossing*);
void on_unmap ();
@@ -55,8 +58,12 @@ class ArdourDialog : public Gtk::Dialog
set_session (0);
}
+ static void close_all_dialogs () { CloseAllDialogs(); }
+
private:
void init ();
+
+ static sigc::signal<void> CloseAllDialogs;
};
#endif // __ardour_dialog_h__