module Gdk::EventRootCoordsReader

Public Instance Methods

root_coords() click to toggle source
Calls superclass method
# File lib/gdk3/event-readers.rb, line 98
def root_coords
  found, x, y = super
  if found
    [x, y]
  else
    nil
  end
end
root_x()
Alias for: x_root
root_y()
Alias for: y_root
x_root() click to toggle source
# File lib/gdk3/event-readers.rb, line 107
def x_root
  (root_coords || [])[0]
end
Also aliased as: root_x
y_root() click to toggle source
# File lib/gdk3/event-readers.rb, line 112
def y_root
  (root_coords || [])[1]
end
Also aliased as: root_y