method

add_item

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: MenuExtension

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

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.

Show source
Register or log in to add new notes.