I have two files. The Glade file describes a very simple GUI. The *.adb file imports this and then attaches signal procedures to them. The problem is that when I try to run the binary, the menu items are gray and disabled. Why?
Glade file:
glade_example.adb:
[EDIT]
I’ve managed to get it to do what I want. What I’ve done differently was add this line of code after each “Show” procedure call for an ImageMenuItem:
Gtk.Image_Menu_Item.Set_Sensitive(…);
Basically, I forced for that menu item to become sensitive. What I don’t understand is, this value should have been set in the Glade file to True, so the menu item should have been sensitive from the very beginning…