how to make a pixmap widget get the key_press_event?
- From: huzheng <forlinux 263 net>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: how to make a pixmap widget get the key_press_event?
- Date: 01 Apr 2002 20:17:49 +0800
i use event_box to contain the pixmap widget,and
gtk_widget_set_events (event_box, GDK_KEY_PRESS_MASK);
gtk_signal_connect (GTK_OBJECT (event_box), "key_press_event",
GTK_SIGNAL_FUNC (on_test_pressanykey_keypress), this);
but i find the event_box can't get the key_press_event too.
thank you for reply :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]