Hello, I want to make sure that when you click on a button with the right mouse button in the widget, some action occurs, tell me how to do this please

Hello, I want to make sure that when you click on a button with the right mouse button in the widget, some action occurs, tell me how to do this please

1 Like

You have to override the mouse button down event like this

thank you, it helped a lot

1 Like

where to get from on mouse button Down?

Right click on the canvas

image

thanks

1 Like

Ah, sorry, you’re asking about this?

image

Like I say, you have to ‘override’ it here

image

everything works,thanks

1 Like

:+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.