[gtkada] Modifying menu items

Grein, Christoph christoph.grein at eurocopter.com
Mon Jul 22 11:21:36 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

Thanx




More information about the gtkada mailing list