MeVisLab Web Toolkit Reference
Loading...
Searching...
No Matches
global Namespace Reference

Classes

class  MLABApp
 The global application variable. More...

Functions

 Set (callback)
 the target widget and should return true if the event is to be passed to the remote target viewer.

Function Documentation

◆ Set()

Set ( callback)

the target widget and should return true if the event is to be passed to the remote target viewer.

This callback can also call preventDefault on the event to prevent the key to be passed to the browser window.

This callback is only called for key events that are sent to a remote view (when the view is clicked and/or the mouse is over the view)

Parameters
callbackThe callback with arguments (event, type, targetWidget) which must return true or false
Returns
Returns the previous callback

Definition at line 33 of file global.py.