CursorEnterSignal
extends Signal
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor
- entered() : bool
- Returns whether the cursor entered the window
- isPropagationStopped() : bool
- Has the propagation been stopped?
- left() : bool
- Returns whether the cursor left the window
- stopPropagation() : void
- Stop the propagation of the signal
Properties
$entered read-only
The cursor enter/leave state
public
int
$entered
$window read-only
The window that received the event
public
Window
$window
Methods
__construct()
Constructor
public
__construct(Window $window, int $entered) : mixed
Parameters
- $window : Window
-
The window that received the event
- $entered : int
-
The cursor enter/leave state
entered()
Returns whether the cursor entered the window
public
entered() : bool
Return values
boolisPropagationStopped()
Has the propagation been stopped?
public
isPropagationStopped() : bool
Return values
boolleft()
Returns whether the cursor left the window
public
left() : bool
Return values
boolstopPropagation()
Stop the propagation of the signal
public
stopPropagation() : void