RE: [gtkmm] TreeView Model, SEGV on append



Ohrnberger, Erik wrote:
> Just a question on construction means and order for the Gtkmm 
> objects that I'm using and sub classing from.
> 
> If I follow the order of construction from beginning to end, 
> I see that some are dynamic and some are automatic.  What I 
> mean that in some cases to create a new object instance I do this:
[snip]
> Are both of these means for constructing Gtk containing and 
> Gtk subclassed object instances valid?

Yes. This is C++.

> Can both of these methods be used at the same time?

Yes. This is C++.

>  What I 
> mean to say is that a containing class may be dynamic, while 
> some of it's contained widgets may be either dynamic or 
> automatic (second example).

Yes. This is C++.

> Is there any particular advantage in doing it one way over 
> the other?  If so, what would it be?  Is it just for the sake 
> of consistency?

It's just personal choice, I think.

Murray Cumming
www.murrayc.com
murrayc usa net



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