Re: [gtkmm] focus



Was in a similar situation recently: I saw a signal_editing_done()
signal on the base class CellEditable that entry derives from that
looked appropriate, but this didn't work for.. it is never triggered,
anyone know what exactly the point is for this signal?

Barnaby

On Sat, Feb 08, 2003 at 11:17:02PM +0100, erwan ancel wrote:
> 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
> it
> > >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
> >
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 



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