Re: tree model complaints



On Sun, Aug 15, 2004 at 03:47:12PM +0100, Tim Müller wrote:

"both methods" = _iter_next() and _iter_nth_child()?  If yes, then how would 
one know how to emulate one using the other without either keeping track of 
the N of each iter, or doing expensive iter_to_path conversions? Both is 
rather pointless just to save those 1% of people who do need to implement 
custom tree models 5 lines of code. For most people GtkListStore and 
GtkTreeStore will do just fine, the others usually know what they want and 
want maximum control (and don't mind an extra 5 lines).

Or maybe I'm just not understanding you right?

Apparently I'm in that 1% :-) A friend of mine is writing
similar app, but in java, that why I'm comaring
it with java. The list of metods to impelment
is much longer in GTK's case than in java, that's all.
Well after some time I'll be able to compare results.
Who knows, maybe gtk's versatility will serve me well.

Thanks for you answers.

-- 
DM



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