Re: key press events and gtk_dialog_new_with_buttons()



I applied this function to the three entries but it only works on one of them (the first entry I apply it to). Note that I have tried them all on their own (by commenting out the other two) and they work fine. Any ideas?

Thanks again,
Richard.

At 21:39 10/01/06, you wrote:
On Tue, Jan 10, 2006 at 08:34:36PM +1100, Richard Gipps wrote:
>         Thanks for your response.  I tried your suggestion, but it didn't
> seem to work. Note that I have three entry widgets in the dialogue box and
> the cursor can be inside of any of them when I want the enter key to act
> like the OK button.  Would that make any difference?

Yes it makes a difference, see gtk_entry_set_activates_default().

> Also note that I am writing this in (for) Windows.

That should not make any difference, at least it works for
me.

Yeti


--
That's enough.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]