Callback when the selected instance in the preview bar changes?

Can my script set up a callback that is sent when the selected instance in the preview bar changes? Unfortunately, a callback based on UPDATEINTERFACE is not triggered.

I added another notification for this.

Glyphs.addCallback(self.update, SELECTEDINSTANCE)

(will be in the next 3.5)

What do you need this for?

1 Like

Thanks! I will send you my new tool tomorrow.