This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Insight's dependance on libgui?


Hi,

If you're looking for a fast Table widget there is always the treeTable
widget from Source-Navigator.  A while ago we where going to remove
it from SN (also looking at a pure Tcl implementation), but with 10,000s
of symbols perform was bad.  In the end I did a minor rewrite of some
of the treeTable, mainly the redraw code which was very broken and
required maintain lots of call backs in Tcl for resizing everything,
now it resizes itself automatically .  I've not had to touch it since
making the redraw changes (your milage may vary).

Originally written by Khamis Abuelkomboz because there was nothing
fast enought to handle SN's symbol lists at the time.  Redhat owns
the Copyright and has released it under the GPL.

The files are snavigator/hyper/tkTreeTable.[ch].

If it's usage isn't straight forward you may have to look at the SN
code and see how it's used there.

Ian.

On Fri, 6 Feb 2004 10:23:06 -0800
Jim Ingham <jingham@apple.com> wrote:

> TkTable is a very widely used Tcl extension - distributed as a part of 
> ActiveState's Tcl toolkit.  The chances of Jeff's wanting to contribute 
> the code to the FSF (and change to a GPL license) are vanishingly 
> small.  OTOH, it is a substantial chunk of code, and when we tried to 
> do the memory window in pure Tcl the performance really sucked for big 
> windows.  So you would need another C-based table for Tk.  There is 
> another one (part of BLT) but that one is also BSD licensed, and the 
> author is not going to change that.
> 
> I don't know of one that is likely to be contributed.
> 
> Jim
> 
> >
> >> On Wed, 2004-02-04 at 08:34, Andrew Cagney wrote:
> >>> At present Insight depends on libgui.  How strong is this 
> >>> dependency? In particular, of the non Red Hat authored portions of 
> >>> the libgui library, how much does Insight require?  Is it possible 
> >>> to eliminate any such dependencies?
> >> The only parts of libgui (which are not owned by Red Hat) that I am
> >> certain we use are src/tkTable* and library/combobox.tcl.
> >> The tkCanvas stuff was used by SourceNavigator. I see that Martin Hunt
> >> checked in changes to remove compilation of several files (including
> >> tkCanvas), but he did not remove them from the repository.
> >> The comobox, written by Brian Oakley, has a readme that says:
> >> * completely, totally, free. I retain copyright but you are
> >>   free to use the code however you see fit. Don't be mean.
> >> A file describing the license for the tkTable widget, 
> >> written/maintained
> >> by Jeffrey Hobbs, is in libgui/doc/tkTable_license.terms.
> >
> > Sigh :-(  Don't want to see if they are interested in contributing 
> > that code, or find a replacement?
> >
> > Andrew
> >
> --
> Jim Ingham                                   jingham@apple.com
> Developer Tools
> Apple Computer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]