Hoogle Search
Within LTS Haskell 24.19 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk3 GI.Gtk.Objects.Gesture Returns True if gesture is currently handling events corresponding to sequence. Since: 3.14
-
gi-gtk3 GI.Gtk.Objects.Gesture Sets the state of sequence in gesture. Sequences start in state GTK_EVENT_SEQUENCE_NONE, and whenever they change state, they can never go back to that state. Likewise, sequences in state GTK_EVENT_SEQUENCE_DENIED cannot turn back to a not denied state. With these rules, the lifetime of an event sequence is constrained to the next four:
- None
- None → Denied
- None → Claimed
- None → Claimed → Denied
static void first_gesture_begin_cb (GtkGesture *first_gesture, GdkEventSequence *sequence, gpointer user_data) { gtk_gesture_set_sequence_state (first_gesture, sequence, GTK_EVENT_SEQUENCE_CLAIMED); gtk_gesture_set_sequence_state (second_gesture, sequence, GTK_EVENT_SEQUENCE_DENIED); } static void second_gesture_begin_cb (GtkGesture *second_gesture, GdkEventSequence *sequence, gpointer user_data) { if (gtk_gesture_get_sequence_state (first_gesture, sequence) == GTK_EVENT_SEQUENCE_CLAIMED) gtk_gesture_set_sequence_state (second_gesture, sequence, GTK_EVENT_SEQUENCE_DENIED); }If both gestures are in the same group, just set the state on the gesture emitting the event, the sequence will be already be initialized to the group's global state when the second gesture processes the event. Since: 3.14 -
gi-gtk3 GI.Gtk.Objects.Gesture Connect a signal handler for the sequenceStateChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on gesture #sequenceStateChanged callback
-
gi-gtk3 GI.Gtk.Objects.GestureSingle Returns the event sequence currently interacting with gesture. This is only meaningful if gestureIsActive returns True. Since: 3.14
module Data.Graph.DGraph.
DegreeSequence No documentation available.
-
graphite Data.Graph.DGraph.DegreeSequence The Degree Sequence of a DGraph is a list of pairs (Indegree, Outdegree)
DegreeSequence :: [(Int, Int)] -> DegreeSequencegraphite Data.Graph.DGraph.DegreeSequence No documentation available.
unDegreeSequence :: DegreeSequence -> [(Int, Int)]graphite Data.Graph.DGraph.DegreeSequence No documentation available.
module Data.Graph.UGraph.
DegreeSequence No documentation available.
-
graphite Data.Graph.UGraph.DegreeSequence The Degree Sequence of a simple UGraph is a list of degrees of the vertices in the graph Use degreeSequence to construct a valid Degree Sequence