--- AlannY <m@xxxxxxxxx> escreveu: > How to use shortcuts in menus? (non ItemFactory). > a) create the GtkAccelGroup (gtk_accel_group_new) b) add it to the Menu (gtk_menu_set_accel_group) c) Set the accel path for each MenuItem (gtk_menu_item_set_accel_path), and add the MenuItems to the Menu d) Define each path to the accelerator you want (gtk_accel_map_add_entry) e) Add the accel group to your application Window (gtk_window_add_accel_group) Cheers, Vreixo Flickr agora em português. Você clica, todo mundo vê. http://www.flickr.com.br/ _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list