[gtkada] Modifying menu items
Emmanuel Briot
briot at ACT-Europe.FR
Mon Jul 22 11:06:51 CEST 2002
"Grein, Christoph" <christoph.grein at eurocopter.com> writes:
> 1. How can I change the name of a menu item? There is an operation Change_Name,
> but that is only internal and has no visible effect.
Put a new Gtk_Label in it (Gtk.Container.Add)
> 2. How can I disable menu items (gray them out in the MS Windows world)?
Set_Sensitive (Menu_Item, False);
regards,
Emmanuel
More information about the gtkada
mailing list