Re: GtkDrawingArea and "key_press_event"
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Re: GtkDrawingArea and "key_press_event"
- Date: 04 Aug 2001 02:58:34 PDT
On Sat, 4 Aug 2001 11:32:09 +0300, Mihai Bazon said:
I tried clicking on it, is that good enough or do I have
to set some kind of grab?
I'm not sure, but I think that key events may be received by
the focused widget only... so, is it focused?
On 03 Aug 2001 21:16:38 PDT
"Tara M" <learfox furry ao net> wrote:
> How do I get a GtkDrawingArea widget to report a
> "key_press_event"?
>
> I tried using gtk_widget_add_events() to add the
> GDK_KEY_PRESS_MASK to it and then attaching the signal for
> the "key_press_event" but when I move the pointer over the
> GtkDrawingArea it dosen't report the key event when I press
> any key.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]