lilypond-user
[Top][All Lists]
Advanced

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

Re: Initialize new grob property


From: Timothy Lanfear
Subject: Re: Initialize new grob property
Date: Thu, 26 Jan 2017 08:56:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Maybe ly:grob-set-object! or ly:grob-set-property! They have identical descriptions although the implementations differ.


On 26/01/17 08:06, Urs Liska wrote:
Hi all,

I've created a new grob property through

#(set-object-property! 'curve-layer 'backend-type? integer?)

I can now override this in the music, but it starts with an empty list
(it seems, at least that's what is printed). How can I initialize that
to, say, 1? I grepped for set-object-property! but didn't find any use
from which I could deduce how to do that.

I want to do that in the initialization code, without requiring the user
to explicitly put an override somewhere in the music or a \layout.

Any suggestions? TIA
Urs



--
Timothy Lanfear, Bristol, UK.




reply via email to

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