This is not really a universal solution because it would require a derived class for every JUCE class that already is derived for Button: we would then end up with LeftOnlyToggleButton
, LeftOnlyTextButton
, LeftOnlyDrawableButton
, LeftOnlyHyperlinkButton
, etc.
That’s plain ugly.
@jules, @ed95 : requests in this direction keep appearing: Button right click confusion . Is it so hard to add a setIgnoreRightClicks()
in the base Button
class?