thanks!

that is it! it works now!

cheers
Chris



Am Mittwoch 03 Oktober 2007 13:26:07 schrieb Emil Nowak:
> On 27-09-2007, at 13:58:20 Christopher Lang wrote:
> > Hi,
> >
> > I have a simple derived Gtk::Dialog that consists of an Image, a label
> > and an entry line. It has a Cancel and an OK button. The entry line
> > allows entry of some code.
> >
> > I would like the OK button activated when the RETURN key is pressed (or
> > of course when one uses the mouse to prees OK).
>
> The problem is with Gtk::Entry in Your dialog it grabs RETURN key. You
> should use:
> sub2_entry1->set_activates_default(true);
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to