Class: FXEvent

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

Instance Method Summary collapse

Instance Method Details

#ctrl?Boolean

Returns:

  • (Boolean)


144
145
146
# File 'lib/fxirb.rb', line 144

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

#shift?Boolean

Returns:

  • (Boolean)


148
149
150
# File 'lib/fxirb.rb', line 148

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