On Fri, 13 Jan 2006 12:09:14 -0600, Bob Caryl wrote: > In the Gtk::Button::signal_clicked callback slots for your various other > buttons, add a statement that calls the Gtk::DrawingArea::grab_focus > method for your DrawingArea subsequent to the other code that is in the > callback slot.. >
I want to prevent the focus from leaving the Darea in the first place, not to get it back. But I think I got it. When the Up/Down arrows are pressed in the Darea, just return 1 in the on_Darea_key_press() callback. This will prevent the event from propagating to other widgets. _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
