[gtkmm] Propogate key press event
- From: "I.S.Kuten" <i kuten sam-solutions net>
- To: gtkmm-list gnome org, gtk-list gnome org
- Subject: [gtkmm] Propogate key press event
- Date: Fri, 7 Mar 2003 21:45:57 +0200
Hello ,
I'm writing GTKmm + SDL app .
SDL displayed in DrawingArea widget via GDK_WINDOW_XWINDOW
I defined my keypress callback :
bool MyApp::on_key_press_event(GdkEventKey* event)
switch(event->keyval)
{
case GDK_Escape:
m_button1.clicked();
break;
........................
and want some key presses propagate further and go to DrawingArea widget , so that SDL can hadle them .
How it can be done ?
Thanks,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]