Re: Changing the shortcut text for menus

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

 



On Thu, 2004-10-14 at 09:49, Pramod Patangay wrote:
> Hi,
> 
> I have to change the text of the default shortcut
> generated by GTK when I add an accelerator to the menu
> item. Is there any way to do it?
> 
> Like if I add '+' as the accelerator, a '+' is shown
> as the shortcut but I want to it be to "plus". How can
> I achieve that?
> 

Not easily, I think. You probably have to replace GtkAccelLabel
with a custom implementation, then make sure all your menuitems use 
your custom implementation. 

Matthias

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux