Grab Default problem with Entry Widget
- From: vprasad applix com (V G Prasad [ext 294])
- To: gtk-list redhat com
- Subject: Grab Default problem with Entry Widget
- Date: Fri, 17 Sep 1999 13:07:36 -0400
Hi,
I have a dialog box with a entry widget and 2 buttons (OK, cancel)
I have set up so that the OK button be the default button using gtk_widget_grab_default(). This works fine if the entry widget doesn`t have the focus (i.e a return on the dialog box will tear it down)
But when i am typing text into the entry field and hit a return the dialog box doesn`t go away. The reason seems to be the entry widget consumes the key entry and sends a "activate" signal.
Is this a known issue? Is there a work around ?
Any help is appreciated
thanks
vg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]