[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reading properties
From: |
Rune Zedeler |
Subject: |
reading properties |
Date: |
Thu, 04 Apr 2002 15:14:53 +0200 |
I consider it very hard to read properties from within lily.
The problem is that you need to pass a pointer to some sort of musical
expression - and I don't know how to get such a pointer.
I.e. when thinking about the ottava-implementation it would be nice to
replace
\property Staff.centralCPosition = #-13
with
\property Staff.centralCPosition = #(- (ly-get-context-property
"Staff" "centralCPosition") 7)
But the "get-translator-property"-function needs to get a pointer to the
Staff rather than just the "Staff"-string - and hence the above does not
work...
Is this something like this currently possible at all? Othervise this
would be something nice to allow before 1.6, imho.
-Rune
- reading properties,
Rune Zedeler <=
- reading properties, Han-Wen Nienhuys, 2002/04/04
- Re: reading properties, Rune Zedeler, 2002/04/05
- Re: reading properties, Han-Wen Nienhuys, 2002/04/05
- Re: reading properties, Rune Zedeler, 2002/04/05
- Re: reading properties, Han-Wen Nienhuys, 2002/04/05
- Re: reading properties, Rune Zedeler, 2002/04/05
- Re: reading properties, Han-Wen Nienhuys, 2002/04/05