lilypond-devel
[Top][All Lists]
Advanced

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

Re: cleanup: infinity, get property (issue 6310043)


From: Janek Warchoł
Subject: Re: cleanup: infinity, get property (issue 6310043)
Date: Fri, 15 Jun 2012 23:35:43 +0200

On Fri, Jun 15, 2012 at 9:58 PM,  <address@hidden> wrote:
>>> Good question.  Looking through this and stem, it would seem that
>>> this does not work via inheritance but rather callbacks. So disregard
>>> what I said previously.
>>
>> Should Lyric_text inherit from Item, then?
>
> Apparently not.

ok, it doesn't.

>>> You likely want to use a grob property, in which case you would write
>>> me->get_property (...).
>>
>> Done - works without any problem :)
>> Should i also change lyricMelismaAlignment to be a grob property?
>
> No idea.

i think i'll change it.


On Fri, Jun 15, 2012 at 10:10 PM,  <address@hidden> wrote:
> Ok, I am currently somewhat fuzzy.  A grob has individual properties,
> and it has interfaces.  Interfaces also carry properties.  When a grob
> is created, its properties are initialized from the context and then
> live on independently.
>
> I think that the interface-induced properties initialize from context
> properties unless overriden per grob.  But I really don't have enough of
> a clue of the backend to really tell right now.

Nevertheless many thanks for explanations!  I understand things better now.

cheers,
Janek



reply via email to

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