Class: Rubydraw::Events::FocusEvent
- Defined in:
- lib/rubydraw/events.rb
Overview
Created either when the window gains or loses focus. This is the parent class for Rubydraw::Events::FocusGain and Rubydraw::Events::FocusLose.
Class Method Summary collapse
Methods inherited from Event
#event?, from_sdl_event, matches?
Class Method Details
.matching_sdl_type ⇒ Object
221 222 223 |
# File 'lib/rubydraw/events.rb', line 221 def self.matching_sdl_type SDL::ACTIVEEVENT end |
.wants_to_match? ⇒ Boolean
217 218 219 |
# File 'lib/rubydraw/events.rb', line 217 def self.wants_to_match? not self == FocusEvent end |