Re: CTree question



"Buzz Megg" <buzmeg@hotmail.com> writes:
> Is there a reason why CTree doesn't have functions which allow the addition 
> of new columns (or the resetting of the number of columns)?
> 
> This inability to manipulate the CTree will have issues in any form of C++ 
> usage wrapper.  Specifically, a default configuration will have to be 
> provided and a column addition function will have to be created.  These 
> aren't horrifcally difficult, but they do change the function of a CTree 
> beyond what the Gtk+ libraries have specified.  The column addition function 
> will have to create a new widget, copy the new widget to full depth, and 
> destroy the old widget.  This is extremely slow if the widget is big.
> 
> Could someone enlighten me on this?
> 

CTree sucks, work around it. I don't see how the problem is unique to
C++ though, or why C++ in particular requires this functionality more
than C or Python.

Havoc




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