Class: Gdk::EventKey

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

Instance Method Summary collapse

Instance Method Details

#keycodeObject



68
69
70
71
72
73
74
75
# File 'lib/gdk3/event.rb', line 68

def keycode
  found, value = keycode_raw
  if found
    value
  else
    nil
  end
end

#keycode_rawObject



67
# File 'lib/gdk3/event.rb', line 67

alias_method :keycode_raw, :keycode

#keyvalObject



58
59
60
61
62
63
64
65
# File 'lib/gdk3/event.rb', line 58

def keyval
  found, value = keyval_raw
  if found
    value
  else
    nil
  end
end

#keyval_rawObject



57
# File 'lib/gdk3/event.rb', line 57

alias_method :keyval_raw, :keyval