Class: FXEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/fxirb.rb

Instance Method Summary collapse

Instance Method Details

#ctrl?Boolean

Returns:

  • (Boolean)


161
162
163
# File 'lib/fxirb.rb', line 161

def ctrl?
	(self.state & CONTROLMASK) != 0 
end

#shift?Boolean

Returns:

  • (Boolean)


165
166
167
# File 'lib/fxirb.rb', line 165

def shift?
	(self.state & SHIFTMASK) != 0 
end