Wireshark-dev: Re: [Wireshark-dev] Requiring GTK+ 2.4 or later
From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Tue, 29 Apr 2008 08:48:33 -0400


Guy Harris wrote:
At least at one point, I seem to remember reading that the GtkTreeView was changed in GTK+ 2.4 to deal with a performance issue. A little searching indicated that this was the addition of a "fixed height" option, so it didn't have to calculate the height of every single row:

	http://lists.wxwidgets.org/pipermail/wx-dev/2006-October/078556.html

which would probably be OK for the packet list if we were to switch to using a GtkTreeView, which would let us change the columns without destroying the packet list and reconstructing it, and would also let us avoid allocating strings for the content of all rows and columns by having a tree model that dissects packets on the fly (that requires support for fast random access to packets even in compressed files, but that's probably doable).

*That* is certainly a good reason to go to GTK 2.4+ . :-)