key_press_event
- From: "Tamara" <ta76 iol it>
- To: "gtk-list" <gtk-list gnome org>
- Subject: key_press_event
- Date: Wed, 12 Sep 2001 11:34:12 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]