lilypond-devel
[Top][All Lists]
Advanced

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

Re: event listener and engraver properties


From: Han-Wen Nienhuys
Subject: Re: event listener and engraver properties
Date: Tue, 7 Jun 2011 01:12:07 -0300

On Wed, Jun 1, 2011 at 5:47 PM, Neil Puttock <address@hidden> wrote:

>> which uses the engraver.  I couldn't see any event-specific way to
>> get the text of a text spanner -- the information appears to exist
>> on the engraver level only.
>
> Hmm, this is one situation where listening to events isn't as user-friendly.
>
> The event for a text spanner doesn't carry the text info since it's
> applied via an override (a separate event class).  You'd need to
> listen for overrides and check the symbol being set (which is the grob
> the override's applied to):

This may be a good argument to move the textinfo into the event.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

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