Re: [Tktable] Support for bindings
by Gregory Pierce other posts by this author
Mar 21 2004 3:24AM messages near this date
RE: [Tktable] Support for bindings
|
RE: [Tktable] Support for bindings
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title> </title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Jeff,<br>
<br>
Jeff Hobbs wrote:<br>
<blockquote type="cite"
cite="mid036f01c40ee5$4d1ef2b0$de04a8c0@activestate.ca">
<blockquote type="cite">
<pre wrap=""> Were you able to take a look at the one suggestion I had about
resizing? Basically, you would only resize the non-title cells
only when Button 1 is released. This could be an option that is
almost a must have for very large tables, especially, if each
cell is a text widget or some other widget.
</pre>
</blockquote>
<pre wrap=""> <!---->
The table only causes redraws of what is currently onscreen, so
you would have to have a large onscreen widget (lots of cells
showing) to actually have that be slow. I can see having lots
of embedded widgets causing that to slow down. However, I think
you are basically looking for something that isn't part of the
basic design of the table. Each cell is meant to contain basic
text data, formatted in a simple style (each cell can be
different, but inside one cell, you get one text style). That
is what 99% of database apps I've seen or used have.
</pre>
<blockquote type="cite">
<pre wrap=""> Just curious, how come you didn't make each cell just a text widget?
</pre>
</blockquote>
<pre wrap=""> <!---->
I think you significantly underestimate the kind of effort that
would be. tktable is already a large widget, and the text widget
is itself a large widget. Combining all that into one would be
a monumental task.
</pre>
</blockquote>
After looking at the C code which makes up tktable and the text widget
I would have to agree that<br>
the word "monumental" describes it quite well. The text widget alone is
almost 19,000 lines of C code.<br>
<br>
I actually wrote a SpreadSheet widget in Itcl which has all the
functionality that I<br>
need, however, it's really slow for large tables. To over come this the
user has to<br>
page down and up in order to view more rows within the table. It's not
optimal but<br>
it works.<br>
<br>
Thanks again for all your help!<br>
<br>
Greg<br>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid036f01c40ee5$4d1ef2b0$de04a8c0@activestate.ca">
<pre wrap="">
Jeff Hobbs, The Tcl Guy
<a class="moz-txt-link-freetext" href="http://www.ActiveState.com/"> http://www.ActiveState
.com/</a> , a division of Sophos
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Tktable-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tktable-users@lists.sourceforge.net"> Tktabl
e-users@[...].net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tktable-
users"> https://lists.sourceforge.net/lists/listinfo/tktable-users</a>
</pre>
</blockquote>
</body>
</html>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Tktable-users mailing list
Tktable-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tktable-users
Thread:
Gregory Pierce
Jeff Hobbs
Gregory Pierce
Gregory Pierce
Jeff Hobbs
Gregory Pierce
Jeff Hobbs
Jeff Hobbs
Gregory Pierce
Shawn Kielty
Gregory Pierce
|