Re: get a widget accel key



On 22 Aug 2000, Maher Awamy wrote:

> Alright, its clear that the Delete key can not be used then, is there a
> way to get a widget's assigned accel key, ie if the user modifys the
> accel key manually for a menu item say, I would like to get that widget's
> accel key so I can save it to a config file.

 Gnome applications automatically save accelerators bound this way (in
/.gnome/accels/<PROGNAME> file). So you can look at the gnomeui sources how
it's done (probably it works only for widgets constructed from gnome menu
factory - I don't know for sure).

> Thanks,
> Maher
> 
> -- 
> muhri@muhri.net -- http://www.muhri.net
> 

 Best regards,
  -Vlad






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