Re: Keyboard shortcut for button
- From: José Alburquerque <jaalburquerque cox net>
- To: Alain Bertrand <alainbe free fr>
- Cc: gtkmm-list gnome org
- Subject: Re: Keyboard shortcut for button
- Date: Sun, 26 Oct 2008 18:51:17 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]