onSelectionChange handler for score/staff
Hi,
I'm creating a plugin that changes selected notes according to the response of a HTTP request (a tabulature translation plugin).
Is there an onSelect
or onSelectionChange
event that fires when the current note/measure/staff selection is changed by the user?
PS: How can I search all forum posts? I didn't find a search for that :/ Is the the "Search for help" magnifier icon?
Comments
Yes. Or Google, best with a "site:musescore.org" as part of the search
onScoreStateChanged
handler provides astate.selectionChanged
flag which can be used to track selection changes. The documentation linked above contains an example of a plugin which handles selection changes.In reply to onScoreStateChanged handler… by dmitrio95
Thank you!