Hi!
I've a window with an entry and a button, I'd like that when I fill the
entry and I press "return" (for example) the button will be clicked.
I wrote:

gboolean on_entry_key_press_event (GtkWidget *widget,GdkEventKey
*event,gpointer user_data)
{
        gtk_butto_clicked (lookup_widget (GTK_WIDGET (widget), "buttonName"));
        return FALSE;
}

...but it doesn't work...

any idea?
Thanks
and kisses
Tamara


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to