method

add_item

add_item(label, keyval = nil, klass = MenuItem, &callback)
public

Adds a Gtk::MenuItem to this instance’s #menu. label is the label string, klass is the item type, and callback is the procedure, that is called if the item is activated.