On Fri, Jun 15, 2012 at 6:00 PM, David Kastrup <d...@gnu.org> wrote: > What makes you think LyricText is an Item? Its definition is > > class Lyric_text > { > public: > DECLARE_SCHEME_CALLBACK (calc_x_offset, (SCM)); > DECLARE_GROB_INTERFACE (); > }; > > It is a class with one member function and an interface. That does not > make it an Item. If you want it to be an Item, you need to have it > inherit from Item in which case it will know its context (and > consequently how to get properties) from the way it has been created.
indeed, i'm more silly than i thought. Is the inheritance correct now? I still get an error, though... Btw, why doesn't Flag inherit from Item? thanks, Janek _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel