Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScriptedWidgetEventHandler Interface Reference
Inheritance diagram for ScriptedWidgetEventHandler:
[legend]

Public Member Functions

bool OnClick (Widget w, int x, int y, int button)
 
bool OnModalResult (Widget w, int x, int y, int code, int result)
 
bool OnDoubleClick (Widget w, int x, int y, int button)
 
bool OnSelect (Widget w, int x, int y)
 
bool OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
 
bool OnFocus (Widget w, int x, int y)
 
bool OnFocusLost (Widget w, int x, int y)
 
bool OnMouseEnter (Widget w, int x, int y)
 
bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
bool OnMouseWheel (Widget w, int x, int y, int wheel)
 
bool OnMouseButtonDown (Widget w, int x, int y, int button)
 
bool OnMouseButtonUp (Widget w, int x, int y, int button)
 
bool OnController (Widget w, int control, int value)
 control is one of ControlID
 
bool OnKeyDown (Widget w, int x, int y, int key)
 
bool OnKeyUp (Widget w, int x, int y, int key)
 
bool OnKeyPress (Widget w, int x, int y, int key)
 
bool OnChange (Widget w, int x, int y, bool finished)
 
bool OnNeedScroll (Widget w, int x, int y, float prevScrollPosX, float prevScrollPosY, float newScrollPosX, float newScrollPosY)
 
bool OnResize (Widget w, int x, int y)
 
bool OnChildAdd (Widget w, Widget child)
 
bool OnChildRemove (Widget w, Widget child)
 
bool OnUpdate (Widget w)
 
bool OnEvent (EventType eventType, Widget target, int parameter0, int parameter1)
 
bool OnModalClickOut (Widget modalRoot, int x, int y, int button)
 
void HandlerAttached (Widget w)
 
void HandlerDeattached (Widget w)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Member Function Documentation

◆ HandlerAttached()

void ScriptedWidgetEventHandler.HandlerAttached ( Widget  w)

◆ HandlerDeattached()

void ScriptedWidgetEventHandler.HandlerDeattached ( Widget  w)

◆ OnChange()

bool ScriptedWidgetEventHandler.OnChange ( Widget  w,
int  x,
int  y,
bool  finished 
)

◆ OnChildAdd()

bool ScriptedWidgetEventHandler.OnChildAdd ( Widget  w,
Widget  child 
)

◆ OnChildRemove()

bool ScriptedWidgetEventHandler.OnChildRemove ( Widget  w,
Widget  child 
)

◆ OnClick()

bool ScriptedWidgetEventHandler.OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnController()

bool ScriptedWidgetEventHandler.OnController ( Widget  w,
int  control,
int  value 
)

control is one of ControlID

◆ OnDoubleClick()

bool ScriptedWidgetEventHandler.OnDoubleClick ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnEvent()

bool ScriptedWidgetEventHandler.OnEvent ( EventType  eventType,
Widget  target,
int  parameter0,
int  parameter1 
)

◆ OnFocus()

bool ScriptedWidgetEventHandler.OnFocus ( Widget  w,
int  x,
int  y 
)

◆ OnFocusLost()

bool ScriptedWidgetEventHandler.OnFocusLost ( Widget  w,
int  x,
int  y 
)

◆ OnItemSelected()

bool ScriptedWidgetEventHandler.OnItemSelected ( Widget  w,
int  x,
int  y,
int  row,
int  column,
int  oldRow,
int  oldColumn 
)

◆ OnKeyDown()

bool ScriptedWidgetEventHandler.OnKeyDown ( Widget  w,
int  x,
int  y,
int  key 
)

◆ OnKeyPress()

bool ScriptedWidgetEventHandler.OnKeyPress ( Widget  w,
int  x,
int  y,
int  key 
)

◆ OnKeyUp()

bool ScriptedWidgetEventHandler.OnKeyUp ( Widget  w,
int  x,
int  y,
int  key 
)

◆ OnModalClickOut()

bool ScriptedWidgetEventHandler.OnModalClickOut ( Widget  modalRoot,
int  x,
int  y,
int  button 
)

◆ OnModalResult()

bool ScriptedWidgetEventHandler.OnModalResult ( Widget  w,
int  x,
int  y,
int  code,
int  result 
)

◆ OnMouseButtonDown()

bool ScriptedWidgetEventHandler.OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnMouseButtonUp()

bool ScriptedWidgetEventHandler.OnMouseButtonUp ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnMouseEnter()

bool ScriptedWidgetEventHandler.OnMouseEnter ( Widget  w,
int  x,
int  y 
)

◆ OnMouseLeave()

bool ScriptedWidgetEventHandler.OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)

◆ OnMouseWheel()

bool ScriptedWidgetEventHandler.OnMouseWheel ( Widget  w,
int  x,
int  y,
int  wheel 
)

◆ OnNeedScroll()

bool ScriptedWidgetEventHandler.OnNeedScroll ( Widget  w,
int  x,
int  y,
float  prevScrollPosX,
float  prevScrollPosY,
float  newScrollPosX,
float  newScrollPosY 
)

◆ OnResize()

bool ScriptedWidgetEventHandler.OnResize ( Widget  w,
int  x,
int  y 
)

◆ OnSelect()

bool ScriptedWidgetEventHandler.OnSelect ( Widget  w,
int  x,
int  y 
)

◆ OnUpdate()

bool ScriptedWidgetEventHandler.OnUpdate ( Widget  w)

The documentation for this interface was generated from the following file: