Re: Tiny patch for gtkentry
- From: Owen Taylor <owt1 cornell edu>
- To: gtk-list redhat com
- Subject: Re: Tiny patch for gtkentry
- Date: 10 Feb 1998 19:33:20 -0500
Vidar Madsen <vidar@vidar.prosalg.no> writes:
> Hello.
>
> Recently I needed a GtkEntry which reacted to receiving and losing focus
> (I got major(!) flickering when triggering on "changed"), so I put
> together this tiny patch which introduces two new signals; "got_focus"
> and "lost_focus". I thought maybe somebody else might find this useful
> too, so here it is...
I think "focus_in_event" and "focus_out_event" will already do
what you want. (Despite the "event" name, you don't need to
call gtk_widget_set_events to get them)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]