lilypond-user
[Top][All Lists]
Advanced

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

Getting a property from *antoher* grob in callback


From: Urs Liska
Subject: Getting a property from *antoher* grob in callback
Date: Mon, 13 Feb 2017 10:18:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Hi all,

I'm creating a stencil (Slur) for compound slurs. WIthin that function
(define-event-function) I'd like to access a property from a certain
grob and don't know how to do that.

I need to determine the thickness of a line through the grob property
'thickness. But a slur's thickness (which I can retrieve) is taken as a
factor of Staff.StaffSymbol.thickness. So in order to match the line
thickness with that of regular slurs I need to access that StaffSymbol's
property.

How can I access a grob property if I don't have the actual grob
available (i.e. the reverse of \override)?

TIA
Urs


-- 
address@hidden
https://openlilylib.org
http://lilypondblog.org




reply via email to

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