Re: Nemethi's Tablelist widget vs. Hobb's Tktable widget
- From: "art" <art@xxxxxxxx>
- Date: 7 Apr 2005 15:30:05 -0700
Vaclav Snajdr wrote:
> I use tablelist too and have tryied tk-table.
>
> The sort of a tablelist with 120.000 rows with 5 columns
> needs to much time, tk-table is quick enough because c-based.
> What is to do?
>
> An Cobol man would say - if I must be quickly I sort using
> memory otherwise I sort via key-indexed file.
>
> I mean to wrap tk-table's C-routines for build and sort with
> parameters and let call this routine from tcl-code (not only from
> tablelist but common).
>
>
> Kevin Penrose wrote:
>
> >
> > Greetings!
> >
> > I have just finished reading the release notes for the new release
of
> > Csaba's Tablelist widget, and I'm looking for some feedback from
some
> > experienced users of this widget at Jeff Hobb's TkTable widget.
> >
> > I have several projects which heavily rely on the TkTable widget
and I
> > like its speed and functionality. But the Tablelist widget looks
mighty
> > appealing also.
> >
> > So, how do they stack up against each other? Is one better for
certain
> > uses than the other, etc? Is speed an issue with Tablelist? The
> > interactive cell editing feature of the tablelist widget looks like
> > something I can use for a particular application, but the table may
have
> > several hundred rows, so I worry about performance.
> >
> > All opinions welcomed!
> >
> > Thanks,
> >
> > -- Kevin
>
> --
> Vaclav Snajdr
Ah Ha ! I hope you take this as constructive input. If we all
concentrate more on interface specification then interface users can
easily, freely pick and try implementations. This guy was trying to
start something but it did not gain momentum.
http://rrna.uia.ac.be/interface/index.html
art
excerpt from his web site .
What is tcl interface
In Tcl "objects" can be created in many ways: in C, in Tcl or in any of
the Tcl OO extensions. The term object is used loosely here for each
compound command: a command with subcommands (methods) that
encapsulates a certain functionality. Different kinds of objects can
often have similar functionality: eg. objects for connecting to
different kinds of databases would be nicely interchangeable if they
would support the same set of methods in the same way. In order to let
objects easily communicate with each other they have to be able to find
out the others functionality.
An interface is a set of (related) methods that provide a predefined
functionality. An object implements an interface if it supports all the
methods in the interface the proper way. Of course, one object can
support multiple interfaces. It can advertise the interfaces it
supports. An interface is basically defined by a description of the
interface and its methods and a test suite.
.
- References:
- Re: Nemethi's Tablelist widget vs. Hobb's Tktable widget
- From: Vaclav Snajdr
- Re: Nemethi's Tablelist widget vs. Hobb's Tktable widget
- Prev by Date: Re: Expect crashes
- Next by Date: Creating a graph
- Previous by thread: Re: Nemethi's Tablelist widget vs. Hobb's Tktable widget
- Next by thread: Managing (translate) errors in a different language
- Index(es):
Relevant Pages
|