Dino Cherian K <[EMAIL PROTECTED]> writes:
> 
> How can I make a button click when I press Enter from another widget in
> the dialog.
> 

If the other widget is a GtkEntry, the usual way is to connect
gtk_window_activate_default() to the "activate" signal on the entry:

 gtk_signal_connect_object (entry, "activate", 
                            gtk_window_activate_default, 
                            toplevel_dialog_window);

If you are using GTK 2, just call 
gtk_entry_set_activates_default() instead of making the signal 
connection.

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

Reply via email to