Class: Gtk::GestureSingle
- Inherits:
-
Object
- Object
- Gtk::GestureSingle
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#button ⇒ Integer
Mouse button number to listen to, or 0 to listen for any button.
-
#button=(button) ⇒ Integer
Mouse button number to listen to, or 0 to listen for any button.
-
#current_button ⇒ Integer
Returns the button number currently interacting with gesture, or 0 if there is none.
-
#current_sequence ⇒ Gdk::EventSequence
Returns the event sequence currently interacting with gesture.
-
#exclusive ⇒ TrueClass
Gets whether a gesture is exclusive.
-
#exclusive=(exclusive) ⇒ TrueClass
Whether the gesture is exclusive.
-
#exclusive? ⇒ TrueClass
Whether the gesture is exclusive.
-
#touch_only ⇒ TrueClass
Returns true if the gesture is only triggered by touch events.
-
#touch_only=(touch_only) ⇒ TrueClass
Whether the gesture handles only touch events.
-
#touch_only? ⇒ TrueClass
Whether the gesture handles only touch events.
Instance Method Details
#button ⇒ Integer
Mouse button number to listen to, or 0 to listen for any button.
#button=(button) ⇒ Integer
Mouse button number to listen to, or 0 to listen for any button.
#current_button ⇒ Integer
Returns the button number currently interacting with gesture, or 0 if there is none.
#current_sequence ⇒ Gdk::EventSequence
Returns the event sequence currently interacting with gesture. This is only meaningful if gtk_gesture_is_active() returns true.
#exclusive ⇒ TrueClass
Gets whether a gesture is exclusive. For more information, see gtk_gesture_single_set_exclusive().
#exclusive=(exclusive) ⇒ TrueClass
Whether the gesture is exclusive. Exclusive gestures only listen to pointer and pointer emulated events.
#exclusive? ⇒ TrueClass
Whether the gesture is exclusive. Exclusive gestures only listen to pointer and pointer emulated events.
#touch_only ⇒ TrueClass
Returns true if the gesture is only triggered by touch events.
#touch_only=(touch_only) ⇒ TrueClass
Whether the gesture handles only touch events.
#touch_only? ⇒ TrueClass
Whether the gesture handles only touch events.