Re: gtk_window_set_default does not work (for me)
- From: Deekshit Mantampady <dmantamp gmail com>
- To: Christian Neumair <chris gnome-de org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_window_set_default does not work (for me)
- Date: Mon, 19 Sep 2005 10:33:40 +0530
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 <chris gnome-de org> 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 <chris gnome-de org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD4DBQBDJc96WfvsaU5lO4kRAkF8AJjhVVWteHWwS0KY+ueq6B4y3Ns+AJ0fI6h6
NU+VVJkVKWHAvN7QooJ7Fg==
=Zf4Q
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]