Re: keyboard short cuts/accelerators



Grizzly(Francis Smit) wrote:
> 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& accel_key)
> looks the best but it's protected, should I derive and use this??
>
> set_accel_path(const Glib::ustring&  accel_path)
>
>
> is available  but I don't understand what it does
>
>   
that's better sorry about the link soup in the earlier post

-- 
  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]