X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ffr%2Fextending%2Fprogramming-interface.itely;h=4e09986fe89f5ba5ea199bbd93ea3ff496ba9dbd;hb=fd8e4f4ad347ef8f96c2e069be83f63f0f9da466;hp=0aa792c663ccbf6fe4e7a54c8f3cfe79f5deacef;hpb=2fef7b7eb7ac5d7a2ed237bf22a6ec6fe5d946d9;p=lilypond.git diff --git a/Documentation/fr/extending/programming-interface.itely b/Documentation/fr/extending/programming-interface.itely index 0aa792c663..4e09986fe8 100644 --- a/Documentation/fr/extending/programming-interface.itely +++ b/Documentation/fr/extending/programming-interface.itely @@ -1,7 +1,7 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: 8c1840ca28a05b3dad8d595e04d03779ba0a286a + Translation of GIT committish: f9d8763d2e83aa653582123d79731e029aea83d9 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' @@ -1502,6 +1502,17 @@ valeur usuelle de la propriété : @} @end example +La valeur par défaut est aussi accessible à l'aide de la fonction +@code{grob-transformer} : + +@lilypond[verbatim,quote] +\relative { + \override Flag.X-offset = #(grob-transformer 'X-offset + (lambda (flag default) (* default 4.0))) + c''4. d8 a4. g8 +} +@end lilypond + Au sein d'un @emph{callback}, le meilleur moyen d'évaluer un @emph{markup} consiste à utiliser la fonction @code{grob-interpret-markup}, comme ici :