On Mon, Feb 16, 2015 at 10:04 AM, Paul Morris <p...@paulwmorris.com> wrote:

P.S. FWIW, here's one marginal use case.  I've been using grob names to
> differentiate key signature grobs from key cancellation grobs, within a
> custom engraver that acknowledges the key-signature-interface.  I could add
> a second engraver for the key-cancellation-interface to deal with key
> cancellation grobs, but since both key signatures and key cancellations
> have
> the key-signature-interface, I would still need a way to differentiate
> between them in the engraver that acknowledges the key-signature-interface.
> Either ly:grob-name or (better yet) ly:grob-has-interface would be helpful
> to have for this kind of thing.
>
>
In this case, KeySignature has both key-signature-interface and
key-cancellation-interface, but KeyCancellation only has
key-cancellation-interface, so you can still use interfaces here.
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to