Hi!
Do all mouse clicks on GUI buttons push them before processing? I'm trying to be able to right-click cycle while over a button, but the button always processes the right-click as a push and shows the "pushedimage". I've tried tweaking the on_event and on_mouse_click functions to disable the button or change the image, but it looks like the mouse click is processed before the function runs.
Is there a way to make buttons ignore right-clicks? My alternative solution is to create two buttons, one for function, and a dummy one for visuals. But I would like to know if there's a simple solution I'm overlooking first.
Thanks!
Do all mouse clicks on GUI buttons push them before processing? I'm trying to be able to right-click cycle while over a button, but the button always processes the right-click as a push and shows the "pushedimage". I've tried tweaking the on_event and on_mouse_click functions to disable the button or change the image, but it looks like the mouse click is processed before the function runs.
Is there a way to make buttons ignore right-clicks? My alternative solution is to create two buttons, one for function, and a dummy one for visuals. But I would like to know if there's a simple solution I'm overlooking first.
Thanks!