module Rabbit::Renderer::Display::MotionHandler
Private Instance Methods
Source
# File lib/rabbit/renderer/display/motion-handler.rb, line 25 def set_motion_event(widget) motion = Gtk::EventControllerMotion.new motion.signal_connect(:motion) do |_, x, y| call_hook_procs(@motion_notify_hook_procs, x, y) end widget.add_controller(motion) end