shoot. Nope, I don't have an off-the-top-of-my-head idea for you. Except
to maybe get notified on every keypress and filter the return by hand. Not
sure how to do that, though. Let me know if you get a good answer to this
one.
On Fri, Nov 14, 2008 at 12:02 PM, Till Harbaum / Lists <[EMAIL PROT
Hi,
Am Freitag 14 November 2008 schrieb Garth's KidStuff:
> The one subtle point for me was that any Gtk::Entry controls in the dialog
> ate the return unless I did the following:
>
> Gtk::Entry m_IDC_ADD_PAGE_TITLE;
> ...
> m_IDC_ADD_PAGE_TITLE.set_activates_default(true); // Enter while
> Also how do i make the Ok button to react on the return key.
Hey there. This is in gtkmm:
Gtk::Button m_IDOK;
...
m_IDOK.set_flags(Gtk::CAN_DEFAULT);
m_IDOK.grab_default();
The one subtle point for me was that any Gtk::Entry controls in the dialog
ate the return unless I did the f