Re: focus change by key press



Have you tried this?

gtk_signal_emit_stop_by_name (GTK_OBJECT (widget), "key_press_event");
return TRUE;

(For GTK+1.2)

MR.


Dňa So, 2002-08-10 at 08:07, Pavel Parizek napísal:
On Fri, 9 Aug 2002, Allin Cottrell wrote:

On Fri, 9 Aug 2002, Matthew Walker wrote:

Don't quote me on this, but I think your key_press signal handler
needs to return FALSE, to indicate that no more processing needs to
be done for the key that was pressed...

Um, TRUE will have that effect.  FALSE says "keep going".

Allin Cottrell.

I'm using TRUE as a return value from the beginning. It's just the same 
problem.

Pavel P.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


-- 
homepage: http://www.ms.mff.cuni.cz/~parip0am
ICQ: 60382411


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]