[gtkada] focus-in events for a group of widgets
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Mon Aug 23 12:59:22 CEST 2004
>I've got an application where I'd like to handle the focus-in event
>for a group of widgets in a Hbox. The Hbox represents a record; each
>contained widget edits a field in the record. There are several
>records displayed at once.
Sounds like a table may be a better choice.
I'd keep an array of all the entry widgets you have, and
test which one has the focus, I think Gtk.Widget.Has_Focus_Is_Set
can be used. Then no focus-in event handler is needed.
Manuel
More information about the gtkada
mailing list