Re: Changing the shortcut text for menus
- From: Matthias Clasen <mclasen redhat com>
- To: gtk-list gnome org
- Subject: Re: Changing the shortcut text for menus
- Date: Thu, 14 Oct 2004 10:25:40 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]