You will also have to arrange for menu display of multi-key sequences yourself, maybe by packing an HBox into the menu item (menu items can have any child) so you can place in the HBox a left aligned label for the menu text and a right aligned label that you can show your extended key sequence in. And an icon on the far left if you want it.
There are some useful functions that turn keyboard codes into text like "ctrl-W" that you can use.
Cheers
Lex
Hello Lex,
Tuesday, April 20, 2010, 6:14:42 AM, you wrote:
>
1) Can i draw my own accelerator key description in the menu items?
(For people who know the textmate editor for MacOSX - its pretty much
the same what i want do, drawing tab and insert symbols).
I don't have Mac access so I can't look at textmate, but GTK lets you set accelerators for menu items, see doc on accelerator groups, accelerator maps and accelerator paths. These also support saving settings in config files so your users can change accelerators to suit themselves.
Unfortunately i need much then possible with GTK's system.
It can't even display (far from handling) multi-key accelerators like Ctrl-W Ctrl-A
--
Best regards,
Lothar mailto:llothar@xxxxxx
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list