Module: Gio::Action
- Defined in:
- lib/gio2/action.rb
Instance Method Summary collapse
Instance Method Details
#activate(parameter = nil) ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/gio2/action.rb', line 20 def activate(parameter=nil) case parameter when nil, GLib::Variant # do nothing else parameter = GLib::Variant.new(parameter) end activate_raw(parameter) end |
#activate_raw ⇒ Object
19 |
# File 'lib/gio2/action.rb', line 19 alias_method :activate_raw, :activate |