Alain Bertrand said the following:
Hello all,
I have a button that was created by :
btnCorrect = manage(new Gtk::Button(_("Correct")));
To add a keybord shortcut, I changed it to
btnCorrect = manage(new Gtk::Button(_("Correct _c"),true));
At run time the c does appear underlined but pressing the c key has no
effect. Directly pressing the button does work.
Does pressing CTRL+c not work? For a bit more on accelerators also see the online book button construction section[1].
[1] http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-button-widget.html#sec-pushbuttons
Thanks for your help, Alain _______________________________________________ gtkmm-list mailing list gtkmm-list gnome org http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- José Alburquerque jaalburquerque cox net