Class | Rubygame::ActiveEvent |
In: |
lib/rubygame/event.rb
lib/rubygame/event.rb |
Parent: | Event |
Indicates that the Rubygame window has gained or lost focus from the window manager.
This event has these attributes:
gain: | true if the window gained focus, and false if it lost focus. | ||||||
state: | string indicating what type of focus was gained or lost:
|
gain | [RW] | |
gain | [RW] | |
state | [RW] | |
state | [RW] |