lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make Grob::name accessible to Scheme (issue 203090043 by address@hid


From: David Nalesnik
Subject: Re: Make Grob::name accessible to Scheme (issue 203090043 by address@hidden)
Date: Mon, 16 Feb 2015 13:06:59 -0600

On Mon, Feb 16, 2015 at 10:04 AM, Paul Morris <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]