[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cleanup: infinity, get property (issue 6310043)
From: |
Janek Warchoł |
Subject: |
Re: cleanup: infinity, get property (issue 6310043) |
Date: |
Fri, 15 Jun 2012 18:19:36 +0200 |
On Fri, Jun 15, 2012 at 6:00 PM, David Kastrup <address@hidden> 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
- Re: cleanup: infinity, get property (issue 6310043), janek . lilypond, 2012/06/14
- Re: cleanup: infinity, get property (issue 6310043), janek . lilypond, 2012/06/15
- Re: cleanup: infinity, get property (issue 6310043), dak, 2012/06/15
- Re: cleanup: infinity, get property (issue 6310043), Janek Warchoł, 2012/06/15
- Re: cleanup: infinity, get property (issue 6310043), David Kastrup, 2012/06/15
- Re: cleanup: infinity, get property (issue 6310043), Janek Warchoł, 2012/06/15
- Re: cleanup: infinity, get property (issue 6310043), David Kastrup, 2012/06/15
- Re: cleanup: infinity, get property (issue 6310043),
Janek Warchoł <=
- Re: cleanup: infinity, get property (issue 6310043), David Kastrup, 2012/06/15
Re: cleanup: infinity, get property (issue 6310043), janek . lilypond, 2012/06/15
Re: cleanup: infinity, get property (issue 6310043), dak, 2012/06/15
Re: cleanup: infinity, get property (issue 6310043), dak, 2012/06/15