Re: key_press_event
- From: Federico Mena Quintero <federico ximian com>
- To: Billy Patton <bpatton dal asp ti com>
- Cc: gnome <gnome-list gnome org>, gtk <gtk-list gnome org>
- Subject: Re: key_press_event
- Date: Tue, 16 Jan 2001 21:35:13 -0600
Billy Patton <bpatton dal asp ti com> writes:
> I get nothing, nada, zilch, empty set, null , noop, ... when I hit the
> mouse
> inside the drawing window. What is wrong PLEASE!!!
>
> In my main I have the following signal connection :
> gtk_signal_connect(GTK_OBJECT (drawing_area)
> , "expose_event"
> ,(GtkSignalFunc) expose_event
> , NULL);
> gtk_signal_connect(GTK_OBJECT(drawing_area)
> ,"configure_event"
> ,(GtkSignalFunc) configure_event
> ,NULL);
> gtk_signal_connect(GTK_OBJECT(drawing_area)
> ,"key_press_event"
> ,(GtkSignalFunc) key_press_event
> ,NULL);
> gtk_signal_connect(GTK_OBJECT(drawing_area)
> ,"key_release_event"
> ,(GtkSignalFunc) key_release_event
> ,NULL);
You forgot to connect to the button_press_event or
button_release_event signals.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]