Class: Gdk::EventFocus
- Inherits:
-
Object
- Object
- Gdk::EventFocus
- Defined in:
- lib/gdk3/event.rb
Instance Method Summary collapse
Instance Method Details
#in=(value) ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/gdk3/event.rb', line 40 def in=(value) if value == true value = 1 elsif !value value = 0 end self.in_raw = value end |
#in? ⇒ Boolean
51 52 53 |
# File 'lib/gdk3/event.rb', line 51 def in? not in_raw.zero? end |
#in_raw= ⇒ Object
39 |
# File 'lib/gdk3/event.rb', line 39 alias_method :in_raw=, :in= |