Class: Gtk::GestureDrag
- Inherits:
-
Object
- Object
- Gtk::GestureDrag
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_offset(x, y) ⇒ TrueClass
If the gesture is active, this function returns true and fills in x and y with the coordinates of the current point, as an offset to the starting drag point.
-
#get_start_point(x, y) ⇒ TrueClass
If the gesture is active, this function returns true and fills in x and y with the drag start coordinates, in window-relative coordinates.
-
#new(widget) ⇒ Gtk::Gesture
Returns a newly created Gtk::Gesture that recognizes drags.
Instance Method Details
#get_offset(x, y) ⇒ TrueClass
If the gesture is active, this function returns true and fills in x and y with the coordinates of the current point, as an offset to the starting drag point.
#get_start_point(x, y) ⇒ TrueClass
If the gesture is active, this function returns true and fills in x and y with the drag start coordinates, in window-relative coordinates.
#new(widget) ⇒ Gtk::Gesture
Returns a newly created Gtk::Gesture that recognizes drags.