did you try this? http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-grab-focus 2008/3/20, Moises <ammoises@xxxxxxxxxxxx>:> Hello again>> I am making a window that has a menu, two drawing_area> and a GtkEntry>> I added the following events (GDK_BUTTON1_MOTION_MASK,> GDK_BUTTON2_MOTION_MASK, GDK_BUTTON_PRESS_MASK,> GDK_VISIBILITY_NOTIFY_MASK) to the two drawing_area,> and the respective callback, but the problem is that> when I press a any key, the Gtkentry and the two> drawing_are receive the signal, then call the function> callback of the two drawing_area and writes the> character in the Gtkentry.>> My question:>> how can I do for that when I press a key, The signal> will be received only by selected widget, a> drawing_area or the gtkEntry?>>> ____________________________________________________________________________________> ¡Capacidad ilimitada de almacenamiento en tu correo!> No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:> http://correo.yahoo.com.mx/> _______________________________________________> gtk-list mailing list> gtk-list@xxxxxxxxx> http://mail.gnome.org/mailman/listinfo/gtk-list>_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list