Re: [gtk-list] menu accelerators



>  I had a look at the 2 examples in the gtk tutorial. One is called 'the
>  hard way' and one is called 'the easy way'. it shows you how to add
>  accelerators in the easy method, but not in the hard method, and it
>  doesn't seem to be transferable to the hard method. I want to use the hard
>  way, partly because it's 'the hard way' :-), and partly because I may want
>  to put pixmaps in the menu at some stage. I also want to use accelerators.
>  (I want it all goddamit!).

The Gnome libraries have a very nice framework for this in the
gnome-app-helper module.  You basically create an array of structures
that describe your menu (with pixmaps and all), and they will create
the widgets with accelerators for you.

  Federico



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