Vai al contenuto

Action

The widget allows to move cursors using events, recalling the action “widget command” by name “cursorMove”. Example:Drop a DatalogGraphDrop a ToggleButtonAdd an event “onMousePressed” on ToggleButton, with action “call widget command”Inside field “widget” choose the DatalogGraphInside the field”widget command” choose “cursorMove”Inside the field “widget parameters” add two numerical value, on the different rows. The first one chooses which cursor to move (from 1 to 8. 0 = all cursors). The second one indicates the move offset, in seconds (use a negative value for left direction). In the case at chosen position no sample is present, the next sample will be chosen, immediately next to the click position (or the previous one in case of negative movement).