[gtkada] focus-in events for a group of widgets
Stephen Leake
stephen_leake at acm.org
Tue Aug 24 15:00:28 CEST 2004
"Manuel Op de Coul" <manuel.op.de.coul at eon-benelux.com> writes:
> >On second thought, this won't work. I need to know which record had
> >the focus, _after_ the user clicks the button that does something with
> >that record. At that point, the button has the focus.
>
> Then add one event handler for focus-in and connect it to all the
> entries. Inside, copy the Object parameter to a global variable and
> you'll know which entry had focus last.
Yes, that's my current work-around. I just find it inelegant, so I'm
looking for a better answer.
--
-- Stephe
More information about the gtkada
mailing list