Re: GtkEntry and default buttons. GtkEntry eats the "Enter"



Hook up the "activate" signal of the entry to
emit the "clicked" signal on your default button.

Jeff "Shippy" Shipman     E-Mail: shippy nmt edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy

On Tue, 27 Mar 2001, Norman Black wrote:

I have a dialog with a GtkEntry (GtkCombo also has this issue) and the
dialog has a default button.
Entering text and pressing Enter does not activate the default button. You
have to tab off of any control with a GtkEditable and then you can press
enter to activate the default button.

How can I get the desired behavior. I must be missing something because this
is too obvious to have been missed.

Best Regards,
Norman Black
Stony Brook Software



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






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