Keyboard shortcut for button




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.

Thanks for your help,

Alain



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