|
GLG Toolkit, JavaScript Library
Version 4.6
|
This object is used to pass information to TraceCallback. More...
This object is used to pass information to TraceCallback.
Public Attributes | |
| int | button |
| Mouse button for the mouse events. More... | |
| Object | event |
| The JavaScript event that triggered the callback. More... | |
| GlgEventType | event_type |
| Type of the event, see GlgEventType. More... | |
| GlgObject | light_viewport |
| Light viewport of the event or null. More... | |
| double | mouse_root_x |
| X coordinate of the mouse (or touch) in pixels relative to the page. More... | |
| double | mouse_root_y |
| Y coordinate of the mouse (or touch) in pixels relative to the page. More... | |
| double | mouse_x |
| X coordinate of the mouse (or touch) in pixels relative to the viewport. More... | |
| double | mouse_y |
| Y coordinate of the mouse (or touch) in pixels relative to the viewport. More... | |
| boolean | trace2 |
| true for the Trace2 callback, false for the Trace callback. More... | |
| GlgObject | viewport |
| The viewport that received the event. More... | |
| int button |
Mouse button for the mouse events.
| Object event |
The JavaScript event that triggered the callback.
| GlgEventType event_type |
Type of the event, see GlgEventType.
| GlgObject light_viewport |
Light viewport of the event or null.
| double mouse_root_x |
X coordinate of the mouse (or touch) in pixels relative to the page.
| double mouse_root_y |
Y coordinate of the mouse (or touch) in pixels relative to the page.
| double mouse_x |
X coordinate of the mouse (or touch) in pixels relative to the viewport.
| double mouse_y |
Y coordinate of the mouse (or touch) in pixels relative to the viewport.
| boolean trace2 |
true for the Trace2 callback, false for the Trace callback.
Trace callback is invoked before processing GLG Input events, and Trace2 is invoked after event processing.
| GlgObject viewport |
The viewport that received the event.