Re: focus





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.




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