Class: Gtk::MenuBar

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk_paradise/core_classes/menu_bar.rb

Overview

Gtk::MenuBar

Instance Method Summary collapse

Instance Method Details

#add_these(*i) ⇒ Object

#

add_these

This method can be used to add several entries in one go onto the MenuBar instance at hand.

#


17
18
19
20
21
# File 'lib/gtk_paradise/core_classes/menu_bar.rb', line 17

def add_these(*i)
  i.each {|entry|
    add(entry)
  }
end