Hi, Could someone show me how to create a shortcurt to a menuitem, using an accelerator group? on GTK 1.2* I used the code below. What is the equivalent in GTK 2.12?
accel_group = gtk_accel_group_new (); gtk_accel_group_attach (accel_group, GTK_OBJECT (window)); gtk_widget_add_accelerator (menu_item, "activate", accel_group, 'c', GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); Carlos _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list