Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.MenuItem

Method GTK2.MenuItem()->create()


Method create

GTK2.MenuItem GTK2.MenuItem(string|mapping label_or_props)

Description

If a string is supplied, a W(Label) widget is created using that string and added to the item. Otherwise, you should add another widget to the list item with ->add().