On Fri, Apr 08, 2005 at 08:59:01PM +0200, Daniel Pekelharing wrote: > This is my first post - I'm fairly new to gtk programming. > I program in C, here's my problem. > > I'm building a main menu for my app using GtkItemFactory, > I'm trying to assign the '=' key as a shortcut on one of the items like this: > > {"/Edit/Frame Sequence Shift/Increment/1 Frame", "=", > main_menu_action, 620, "<Item>", NULL}, > > It doesn't seem to get recognized as there is no shortcut in the > graphical menu and nothing happens when the key is pressed.
You have to use key symbol names -- "equal" in this case. Yeti -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list