Re: keyboard short cuts/accelerators
- From: "Grizzly(Francis Smit)" <grizzly smit id au>
- To: José Alburquerque <jaalburquerque cox net>
- Cc: gtkmm-list gnome org
- Subject: Re: keyboard short cuts/accelerators
- Date: Sat, 07 Mar 2009 14:48:27 +1100
José Alburquerque wrote:
> On Fri, 2009-03-06 at 19:16 -0500, José Alburquerque wrote:
>
>> On Fri, 2009-03-06 at 07:25 +1100, Grizzly(Francis Smit) wrote:
>>
>>> Hi how do I do custom keyboard short cuts on my menu Items in
>>> Gtkmm ??
>>>
>>> I'm using anjuta/glade3 but I cannot find the accelerators/short cuts
>>> except stock items do it automatically
>>>
>> That's more a function of the GNOME desktop. You should ask on the
>> gnome list.
>>
>
> Sorry. Wrong advice. Look for accelerator methods in the Gtk::MenuItem
> docs.
>
>
Ummm could you tell me more set_accel_key(const AccelKey
<http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1AccelKey.html>&
accel_key)
looks the best but it's protected, should I derive and use this??
set_accel_path ( const Glib::ustring
<http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html>
& /accel_path/ )
is available but I don't understand what it does
--
In my life God comes first.... but Linux is pretty high after that :-D
Grizzly(Francis Smit)
http://www.geekcode.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GM/CS/P/PA d- s+:+> a+>? C++++ UL++++@ P+ L+++ E--- W+++ N+(++) K w--- M-- V-- PS(+) PE(-) Y+(++) PGP++ t+(++) 5 X- R- tv b+++(++++) DI(--) D G e++(+++) h-- r- y-
------END GEEK CODE BLOCK------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]