Reply To: Atom, howto addMouseListener?

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

#72177
human fly
Participant
    • Topics: 124
    • Replies: 1070
    • Total: 1194
    • ★★★★

    have a look at the *.h files on the github/source/core pages.
    i saw references to addListener etc. there. but i would not
    know yet how to use it, and have not, i think, seen any
    examples yet in panels.

    can i ask what it is you are trying/planning to do?

    here you go: line 183 etc: add/remove listener:

    https://github.com/RomanKubiak/ctrlr/blob/master/Source/Core/CtrlrModulator/CtrlrModulator.h

    it looks like it’s a modulator property, and could get created like
    a timer, and i guess you’d create it locally in a function, and give
    it an ID, and call it like that.(i’m not 100% on how to do that yet,
    got sidetracked figuring out Graphic Envelope yesterday, wa-hey!)

    edit: oh i see you’ve already talked about this:

    How to get the mouse event object in any method?

    Ctrlr