Re: [gtkmm] focus

thanks, but this doesn't match my need. The key release event happen every
time a key is pressed: this is too often for me.

----- Original Message -----
From: "Paul Davis" <paul linuxaudiosystems com>
To: "erwan ancel" <erwan ancel free fr>
Cc: <gtkmm-list gnome org>
Sent: Saturday, February 08, 2003 6:14 PM
Subject: Re: [gtkmm] focus

> >Does somebody know how to deal with focus in the focus_out callback event
> >
> >I explain my trouble: I am not satisfied of what the user put in a
> >Gtk::Entry. On the focus_out event, I want to re-focus on this entry, but
> >seems that the Gtk::Window::set_focus(myEntry) doesn't work in this case.
> >Maybe because the main loop makes an other set_focus after my callback
> >function. Does anyone have a solution ?
> don't use focus_out to validate user entry. use key_release_event.
> --p

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