Class: Gtk::Action

Inherits:
Object
  • Object
show all
Extended by:
GLib::Deprecatable
Defined in:
lib/gtk3/action.rb,
lib/gtk3/deprecated.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, options = {}) ⇒ Action

Returns a new instance of Action.



20
21
22
23
24
25
# File 'lib/gtk3/action.rb', line 20

def initialize(name, options={})
  initialize_raw(name,
                 options[:label],
                 options[:tooltip],
                 options[:stock_id])
end

Instance Method Details

#initialize_rawObject



19
# File 'lib/gtk3/action.rb', line 19

alias_method :initialize_raw, :initialize