Class: JLDrill::Gtk::MotionEvent
- Inherits:
-
Object
- Object
- JLDrill::Gtk::MotionEvent
- Defined in:
- lib/jldrill/views/gtk/widgets/PopupFactory.rb
Instance Attribute Summary collapse
-
#motion ⇒ Object
readonly
Returns the value of attribute motion.
-
#widget ⇒ Object
readonly
Returns the value of attribute widget.
Instance Method Summary collapse
-
#initialize(aWidget, aMotion) ⇒ MotionEvent
constructor
A new instance of MotionEvent.
Constructor Details
#initialize(aWidget, aMotion) ⇒ MotionEvent
Returns a new instance of MotionEvent.
9 10 11 12 |
# File 'lib/jldrill/views/gtk/widgets/PopupFactory.rb', line 9 def initialize(aWidget, aMotion) @widget = aWidget @motion = aMotion end |
Instance Attribute Details
#motion ⇒ Object (readonly)
Returns the value of attribute motion.
7 8 9 |
# File 'lib/jldrill/views/gtk/widgets/PopupFactory.rb', line 7 def motion @motion end |
#widget ⇒ Object (readonly)
Returns the value of attribute widget.
7 8 9 |
# File 'lib/jldrill/views/gtk/widgets/PopupFactory.rb', line 7 def @widget end |