Pike v8.1 release 6

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().