lib/wx/doc/evthandler.rb in wxruby3-1.2.1 vs lib/wx/doc/evthandler.rb in wxruby3-1.3.0
- old
+ new
@@ -140,8 +140,14 @@
# @param args [Array<Object>] optional arguments to pass to the call
# @return [void]
# @yield [*args] optional arguments
def call_after(meth = nil, *args, &block) end
+ # Process a {Wx::EVT_HOTKEY} event.
+ # @param [Integer] id hotkey id
+ # @param [String,Symbol,Method,Proc] meth (name of) method or handler proc
+ # @yieldparam [Wx::KeyEvent] event the event to handle
+ def evt_hotkey(id, meth = nil, &block) end
+
end
end