Does it mean, I cannot do this on a window..... I mean do I need to use GtkDialog instead of window..
Thanks Deekshith M On 9/13/05, Christian Neumair <[EMAIL PROTECTED]> wrote: > Am Montag, den 12.09.2005, 18:11 +0530 schrieb Deekshit Mantampady: > > Hi all, > > I have a window where I want to make the OK button to repond to > > enter keys. I used > > gtk_window_set_default(window, okbtn); I also set GTK_CAN_DEFAULT flag > > before using that. But pressing the entre key does not work. > > You should use gtk_dialog_set_default_response and, if the dialog > contains an entry, gtk_entry_set_activates_default. > > -- > Christian Neumair <[EMAIL PROTECTED]> > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD4DBQBDJc96WfvsaU5lO4kRAkF8AJjhVVWteHWwS0KY+ueq6B4y3Ns+AJ0fI6h6 > NU+VVJkVKWHAvN7QooJ7Fg== > =Zf4Q > -----END PGP SIGNATURE----- > > > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list