00001 00002 /* 00003 * 00004 * Copyright (c) 2005-2009 Instigate cjsc, Yerevan, Armenia. 00005 * All rights reserved. 00006 * 00007 */ 00008 00009 00010 #ifndef INSTIGATE_TOOLKIT_GTK_KEY_EVENT 00011 #define INSTIGATE_TOOLKIT_GTK_KEY_EVENT 00012 00022 // Headers from this project 00023 #include "window.hpp" 00024 00025 // Headers from other projects 00026 00027 // Headers from standard libraries 00028 00029 // forward declarations 00030 namespace instigate { 00031 namespace toolkit { 00032 class gtk_key_event; 00033 } 00034 } 00035 00037 class instigate::toolkit::gtk_key_event 00038 { 00039 public: 00040 gtk_key_event( 00041 instigate::toolkit::window::callback* c, 00042 instigate::toolkit::window* w, 00043 const std::string& s) throw(); 00044 00045 bool call(GdkEventKey* k) throw(); 00046 00047 private: 00048 instigate::toolkit::window::callback* m_callback; 00049 instigate::toolkit::window* m_window; 00050 std::string m_signal; 00051 }; 00052 00053 00054 // vim:et:tabstop=8:shiftwidth=8:cindent:fo=croq:textwidth=80: 00055 00056 #endif // INSTIGATE_TOOLKIT_GTK_KEY_EVENT 00057