Re: focus



Thanks.



Sergio Perticone wrote:
> 
> 
> 
> sundaresh wrote:
>> I have packed an Entry widget and a Button widget into a VBox. When the
>> activate signal of the Entry
>> widget is received, then the focus must shift to the next widget is the
>> Button. How do I accomplish this ?
> 
> m_Entry.signal_activate().connect( sigc::mem_fun( m_Button,
>                                         &Gtk::Widget::grab_focus ) );
> 
> s.
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 

-- 
View this message in context: http://www.nabble.com/focus-tf4260126.html#a12125209
Sent from the Gtkmm mailing list archive at Nabble.com.




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