class Gtk::ImageMenuItem
Public Class Methods
new(options={})
click to toggle source
# File lib/gtk3/image-menu-item.rb, line 20 def initialize(options={}) stock = options[:stock] || nil label = options[:label] || nil if stock initialize_new_from_stock(stock) elsif label if options[:use_underline] initialize_new_with_mnemonic(label) else initialize_new_with_label(label) end else initialize_raw end end
Also aliased as: initialize_raw