Class: Wx::EvtHandler::EventType
- Inherits:
-
Struct
- Object
- Struct
- Wx::EvtHandler::EventType
- Defined in:
- lib/wx/classes/evthandler.rb
Overview
EventType is an internal class that’s used to set up event handlers and mappings.
-
‘name’ is the name of the event handler method in ruby
-
‘arity’ is the number of id arguments that method should accept
-
‘const’ is the Wx EventType constant that identifies the event
-
‘evt_class’ is the WxRuby event class which is passed to the event
handler block
NB: Some event types currently pass a Wx::Event into the event handler block; when the appropriate classes are added to wxRuby, the binding can be updated here.
Instance Attribute Summary collapse
-
#arity ⇒ Object
Returns the value of attribute arity.
-
#const ⇒ Object
Returns the value of attribute const.
-
#evt_class ⇒ Object
Returns the value of attribute evt_class.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#arity ⇒ Object
Returns the value of attribute arity
16 17 18 |
# File 'lib/wx/classes/evthandler.rb', line 16 def arity @arity end |
#const ⇒ Object
Returns the value of attribute const
16 17 18 |
# File 'lib/wx/classes/evthandler.rb', line 16 def const @const end |
#evt_class ⇒ Object
Returns the value of attribute evt_class
16 17 18 |
# File 'lib/wx/classes/evthandler.rb', line 16 def evt_class @evt_class end |
#name ⇒ Object
Returns the value of attribute name
16 17 18 |
# File 'lib/wx/classes/evthandler.rb', line 16 def name @name end |