lilypond-devel
[Top][All Lists]
Advanced

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

Re: equivalent to \once within scheme?


From: Carl Sorensen
Subject: Re: equivalent to \once within scheme?
Date: Wed, 15 Sep 2010 06:07:15 -0600



On 9/15/10 2:09 AM, "Marc Hohl" <address@hidden> wrote:

> Hello all,
> 
> IIUC, \override grob #'foo = #bar
> is more or less the same as
> (ly:grob-set-property! grob foo bar)

Actually, this is closer to being the equivalent of \tweak.

\override context.grob #'foo = #bar is accomplished in scheme with

(ly:context-pushpop-property context grob 'foo bar)

> 
> Is there a scheme equivalent for
> 
> \once \override Grob #'foo = #bar ?

But I don't know how to do the \once \override in scheme.

HTH,

Carl




reply via email to

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