RE: Deriving from Gtk::ListStore



Sorry mate,

I was asking why it was that the 'create' mechanism you use is needed - out
of interest, not to imply that you need not have done it this way.

I certainly wouldn't expect you to be extending C++.

Hope that is a bit clearer, just interested, that's all  :)

Gaz

-----Original Message-----
From: Murray Cumming [mailto:murrayc murrayc com] 
Sent: 26 November 2004 09:24
To: Foster, Gareth
Cc: gtkmm-list
Subject: RE: Deriving from Gtk::ListStore


> <snip>
>
> Yes, your constructor is never called. Look at the ListStore::create()
> implementation to see why - it knows nothing about your derived class.
> create() is not part of the C++ language, and we have not extended the C
> ++ language.
>
> </snip>
>
> Just out of interest, if anybody has a moment to give a quick explanation,
> why is that? I'll accept a M to RTF(M) if that's all that's going  :)

What is the question? Is the question "why haven't we extended the C++
languge"?


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



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