Re: How to move to next GTK_ENTRY



"David J. Topper" <topper virginia edu> writes:
> 
> I tried the gtk_grab_focus and still no dice.  It really *should* work.
> The object in question is actually a large gtk_box, with a row of
> frames, inside each of which is a gtk_entry.
> 
> Just doesn't work ...
> 

You are getting the key press on the entry not the box right? Boxes
won't get key events.

You'll need to gtk_signal_emit_stop_by_name() the key press event, and
return TRUE from the key press callback, so that the default tab
handler doesn't run, probably.

Not sure otherwise. 

Havoc




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