Gesture.addOnCancel

This signal is emitted whenever a sequence is cancelled. This usually happens on active touches when Event.controllerReset is called on gesture (manually, due to grabs...), or the individual sequence was claimed by parent widgets' controllers (see Gesture.setSequenceState).

gesture must forget everything about sequence as a reaction to this signal.

  1. gulong addOnCancel(void delegate(GdkEventSequence*, Gesture) dlg, ConnectFlags connectFlags)
    class Gesture
    gulong
    addOnCancel
    (
    void delegate
    (
    GdkEventSequence*
    ,)
    dlg
    ,
    ConnectFlags connectFlags = cast(ConnectFlags)0
    )
  2. gulong addOnCancel(void delegate(Event, Gesture) dlg, ConnectFlags connectFlags)

Meta

Since

3.14