Re: key press events and gtk_dialog_new_with_buttons()



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.



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