diff options
author | Colin Guthrie | 2011-06-06 12:07:26 +0200 |
---|---|---|
committer | Colin Guthrie | 2011-06-06 12:18:14 +0200 |
commit | 53c38faa8a792a077dbc4c23219ee703e5fa3c8c (patch) | |
tree | c08cc3848d82850cf635e002ccea7f0bfb20849b /src/mainwindow.h | |
parent | Deal more gracefully with disconnections. (diff) | |
download | pavucontrol-slx-53c38faa8a792a077dbc4c23219ee703e5fa3c8c.tar.gz pavucontrol-slx-53c38faa8a792a077dbc4c23219ee703e5fa3c8c.tar.xz pavucontrol-slx-53c38faa8a792a077dbc4c23219ee703e5fa3c8c.zip |
Handle simple key events.
* Use ctrl+w or ctrl+q or esc to quit.
* Uset ctrl+1-5 to change tabs.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index bad9e47..559b639 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -100,6 +100,7 @@ public: protected: virtual void on_realize(); + virtual bool on_key_press_event(GdkEventKey* event); private: gboolean m_connected; |