ClickOnPartHook

semagrams.bindings.ClickOnPartHook
See theClickOnPartHook companion object
case class ClickOnPartHook(button: MouseButton, modifiers: Set[KeyModifier]) extends EventHook[Part]

An EventHook for click events on parts.

Value parameters

button

the mouse button that we are listening for

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EventHook[Part]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(evt: LocalEvent, globalState: GlobalState): Option[Part]

Determine whether or not this is triggered, and if it is triggered

Determine whether or not this is triggered, and if it is triggered

Attributes

def description: String

A brief description of what conditions trigger the eventhook, for use in auto-generated help messages.

A brief description of what conditions trigger the eventhook, for use in auto-generated help messages.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product