Re: Private fields for structures




> Another approach, used in libzvt is to have a "private" data attached
> to the widget.   Although maybe this is too much of an overhead for
> canvas items - i'm not sure if setting object data suddenly bloats the
> object (generally you dont have more than 1 term window for a given
> application!).  In practice it isn't a speed performance hit at any
> rate (the recent speedups actually access this a lot more often).

I have extended the programming-guidelines document to include your
approach as well.

Miguel.



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