Ethereal-dev: Re: [Ethereal-dev] Adding our own private widget for the packet l ist

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Olivier Abad <oabad@xxxxxxx>
Date: Sat, 10 Jan 2004 12:10:51 +0100
On Fri, Jan 09, 2004 at 06:09:55PM +0100, Biot Olivier wrote:
> Hi list,
> 
> It looks however like GtkCList is being deprecated in Gtk+2.x.
> 
> http://developer.gnome.org/doc/API/2.0/gtk/DeprecatedObjects.html
> http://developer.gnome.org/doc/API/2.0/gtk/GtkCList.html
> 
> Instead we should use the new Tree and List Widgets...
> 
> http://developer.gnome.org/doc/API/2.0/gtk/TreeWidget.html
> 
> ... if we want to stick with Gtk+. I suppose this is Guy's 2nd option
> (see below).
> 
> Has anyone tried switching from GtkCList to TreeWidget and its MVC
> paradigm?

I tried it a long time ago (when I started the GTK2 port), but it was
much slower than the gtkclist :

http://www.ethereal.com/lists/ethereal-dev/200306/msg00233.html

I didn't have time to implement a custom data model (instead of using
GtkListStore) to see if it can improve TreeView performance.

Olivier
-- 
If little else, the brain is an educational toy.
		-- Tom Robbins