Reply To: Atom, howto addMouseListener?

Home Forums General Programming Atom, howto addMouseListener? Reply To: Atom, howto addMouseListener?

#72182
Mr.ToR
Participant
  • Topics: 7
  • Replies: 51
  • Total: 58

Thnx for your post humanfly but your link seems to be about something different.

look at Atom’s post here at Juce about this…
https://forum.juce.com/t/cant-a-component-be-a-mouselistener/5935

also Look at line 247 here:
https://github.com/RomanKubiak/ctrlr/blob/master/Source/UIComponents/CtrlrComponents/CtrlrComponent.cpp#L247

seems like you can attach a mouselistener to a component.

All I need is to be able to assign a callback function to a component on a certain mouse event, in my case a mouseUp event.

Ctrlr