Event
An object with integers representing events that can happen in a PixelWindow.
Attributes
- Source
- PixelWindow.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Event.type
Members list
Value members
Concrete methods
Returns a descriptive text for each event
.
Concrete fields
An integer representing a key down event.
An integer representing a key down event.
This value is returned by introprog.PixelWindow.lastEventType when the last event was that a user pressed a key on the keyboard. You can get a text describing the key by calling introprog.PixelWindow.lastKey
Attributes
- Source
- PixelWindow.scala
An integer representing a key up event.
An integer representing a key up event.
This value is returned by introprog.PixelWindow.lastEventType when the last event was that a user released a key on the keyboard. You can get a text describing the key by calling introprog.PixelWindow.lastKey
Attributes
- Source
- PixelWindow.scala
An integer representing a mouse button down event.
An integer representing a mouse button down event.
This value is returned by introprog.PixelWindow.lastEventType when the last event was that a user pressed a mouse button. You can get the mouse position by calling introprog.PixelWindow.lastMousePos
Attributes
- Source
- PixelWindow.scala
An integer representing a mouse button up event.
An integer representing a mouse button up event.
This value is returned by introprog.PixelWindow.lastEventType when the last thing that happened was that a user released a mouse button. You can get the mouse position by calling introprog.PixelWindow.lastMousePos
Attributes
- Source
- PixelWindow.scala
An integer representing that no event is available.
An integer representing that no event is available.
This value is returned by introprog.PixelWindow.lastEventType when introprog.PixelWindow.awaitEvent has waited until its timeout or if introprog.PixelWindow.lastEventType was called before awaiting any event.
Attributes
- Source
- PixelWindow.scala
An integer representing that a window close event has happened.
An integer representing that a window close event has happened.
This value is returned by introprog.PixelWindow.lastEventType when the last event was that a user has closed a window.
Attributes
- Source
- PixelWindow.scala