Hitting return in Gtk::Entry control doesn't do default action in dialog with Gtk::Notebook



Hi All,

I have a dialogs with a Gtk::Entry control in a Gtk::Notebook and -- unlike
other Gtk::Entry controls in dialogs without notebooks -- if I set:

    m_IDOK.set_flags(Gtk::CAN_DEFAULT);
    m_IDOK.grab_default();
...
    m_ENTRY.set_activates_default(true); // Enter while editing should
activate default OK

Hitting Entry still doesn't activate the OK button.

Thanks in Advance.

-Garth


-- 
Garth Upshaw
Garth's KidStuff



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