question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Listen widget raised events

See original GitHub issue

I have a custom interactor style (priority = 0.4) and I’d like to be able to observe a vtkLineWidget when the publicAPI.invokeStartInteractionEvent() or publicAPI.invokeEndInteractionEvent() are raised. How can I do that ? As I set alow priority to the interactor style than line widget, I can’t handle mouse event (for example) when a handleWidget is moved. And that’s ok, but I want to get back the new position of the HandleWidget.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
laurennlamcommented, Mar 28, 2018

I tried this but not in the right way… Thanks a lot !

0reactions
agiraultcommented, Mar 27, 2018

They’re defined in InteractorObserver with the event macro, so you can use lineWidget.onStartInteractionEvent/onEndInteractionEvent to catch those.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Raised Events - Axure Docs
Select a widget in the component whose event you want to raise. You can also click a blank spot on the canvas to...
Read more >
Using Events to Communicate Between Widgets
$broadcast and $emit allow you to raise an event in your widget. ... Listen for the “customEvent” event, and when triggered, the callback ......
Read more >
Widgets for Listening Posts
Pre-configured widgets help to display a pulse survey that is raised from Listening Posts onto Employee Center.
Read more >
Custom events in a Flutter widget: how to pass function ...
We will create a simple widget that shows a message. We will also have an 'onTouched' custom event raised whenever the user touches...
Read more >
Binding an internal event listener on a jQuery UI Widget
For the purposes of triggering/listening to events inside a large/pluggable jQuery UI Widget, I'm attempting to use the widget element's ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found