struct Gtk::Gesture::CancelSignal
- Gtk::Gesture::CancelSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted whenever a sequence is cancelled.
This usually happens on active touches when
Gtk::EventController#reset
is called on @gesture
(manually, due to grabs...), or the individual @sequence
was claimed by parent widgets' controllers (see
Gtk::Gesture#sequence_state=
).
@gesture must forget everything about @sequence as in response to this signal.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gesture.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gdk::EventSequence?, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gdk::EventSequence?, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Gesture, Gdk::EventSequence?, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(sequence : Gdk::EventSequence?) : Nil
-
#name : String
The signal name
Instance methods inherited from struct GObject::Signal
[](detail : String) : self
[],
name : String
name
Constructor methods inherited from struct GObject::Signal
new(source : GObject::Object, detail : String? = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gdk::EventSequence?, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gdk::EventSequence?, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::Gesture, Gdk::EventSequence?, Nil), *, after : Bool = false) : GObject::SignalConnection
#