Am 26.01.2017 um 09:56 schrieb Timothy Lanfear:
> Maybe ly:grob-set-object! or ly:grob-set-property! They have identical
> descriptions although the implementations differ.
>

Thanks, but I have the impression that these affect the created object,
basically to do what \override does. But I want to ensure that a grob
*without* any explicit override to still have that default value.

Of course I could test if the propery is set to a meaningful value, but
that sounds somewhat unclear to me.

Best
Urs

>
> 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
>>
>>
>

-- 
[email protected]
https://openlilylib.org
http://lilypondblog.org


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to