Re: Gtk::Entry end editing signal



On Thu, 2008-01-03 at 11:52 +0000, Pedro Sousa wrote:
> Hi everyone,
> 
> In project I'm involved, I need to read data changed from a Gtk::Entry, 
> so I need to use signals in Gtk::Entry for the following events:
>     - When a user press ENTER button
>     - When the user selects another widgets

Try signal_activate and signal_focus_out_event. For the latter you
perhaps have to call add_events(Gdk::FOCUS_CHANGE_MASK) on the widget
first.

Armin

> I tried to use the signal "signal_editing_done" derived from 
> Gtk::Widget, but with no lucky, because I can't trigger it. When is this 
> signal triggered?
> 
> For the problem that I've, the best approach (until) now is to use the 
> "signal_changed" event, but this is not optimal.
> 
> What solutions can I use for this problem?
> 
> Thanks in advance
>     Pedro Sousa
> _______________________________________________
> 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]