You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(4) |
Aug
(16) |
Sep
(9) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(5) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(3) |
Oct
(3) |
Nov
(1) |
Dec
(2) |
| 2003 |
Jan
(8) |
Feb
|
Mar
(5) |
Apr
(1) |
May
(9) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
(10) |
Apr
|
May
|
Jun
(3) |
Jul
(5) |
Aug
(6) |
Sep
(2) |
Oct
(2) |
Nov
(5) |
Dec
(2) |
| 2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|
From: Jeff H. <je...@Ac...> - 2004-11-25 17:43:02
|
> Can we set the border color of Tktable ?Also if i set the relief as
> flat it won't display the border lines at all.Can i somehow
> get rid of the 3d effect?
The border color is derived from the current cell, it cannot
be set separately. The borders are the borders, so if you
make them flat, there are no borders. If you want to get
rid of the 3D effect, try -bd {1 1 0 0}, or -drawmode single.
Jeff Hobbs, The Tcl Guy
http://www.ActiveState.com/, a division of Sophos
|
|
From: Seena <sm...@en...> - 2004-11-25 12:13:06
|
Hello, Can we set the border color of Tktable ?Also if i set the relief as flat it won't display the border lines at all.Can i somehow get rid of the 3d effect? TIA, Seena |
|
From: Shawn K. <sha...@ea...> - 2004-10-17 21:30:08
|
-----Original Message----- From: tkt...@li... [mailto:tkt...@li...]On Behalf Of Sanjay Soni Sent: Wednesday, September 22, 2004 10:02 PM To: tkt...@li... Subject: [Tktable] help regarding tktable Hi, I am new user of tktable and having some problems. Can anybody please tell me - How to insert widgets like combobox, buttons, entryfield into tktable cells. - Single click on a cell puts into editable mode, I want the cell to be selected on single click and editable on double click - Clicking on a header selects the row or column, I want to disable this feature What version of tktable are you using? I am looking at 2.5 -- which is a few versions old. I believe using a selectmode of browse will disable the row selection characteristic. If you want extended selection capabilities -- and to disable the row selection -- I think it's more interesting -- a quick solution is to put a button or label widget in each of the the titles and have it so nothing -- or a command that does what you want instead -- for example sort (there's a built in sort function in later versions). Is this helping? |
|
From: Shawn K. <sha...@ea...> - 2004-10-17 20:37:23
|
-----Original Message-----
From: tkt...@li...
[mailto:tkt...@li...]On Behalf Of Sanjay Soni
Sent: Wednesday, September 22, 2004 10:02 PM
To: tkt...@li...
Subject: [Tktable] help regarding tktable
Hi,
I am new user of tktable and having some problems. Can anybody please tell
me
- How to insert widgets like combobox, buttons, entryfield into tktable
cells.
toplevel .a
table .a.b
pack .a.b
button .a.b.c
.a.b window configure 0,0 -window .a.b.c
.a.b window configure 0,0 -window .a.b.c -sticky nesw
- Single click on a cell puts into editable mode, I want the cell to be
selected on single click and editable on double click
I think that this requires that you rewrite the bindings for the mouse
events that you need to change. You can get the behavior of button 1 into a
double click by copying the binding for the single click These are bound to
the tag for the class of widgets "Table." You can also bind to the tag for
the widget. The table bindings are in the file TkTable.tcl -- if you want
an example of how to do it. Try something like this:
bind Table <Double-1> [bind Table <ButtonRelease-1>]
Then add a binding to select for a single click --
bind Table <ButtonRelease-1> {.a.b selection set [%W index @%x,%y ]}
- Clicking on a header selects the row or column, I want to disable this
feature
- How to detect the type and position of mouse events on tktable, like
leftclick, rightclick on (row, col)
Check the bind entry in the manual/Docs for tktable -- which describes the
way I just found out in the binding above. The winfo command has some ways
to determine this too.
Happy hacking
Shawn
|
|
From: Sanjay S. <as...@ho...> - 2004-09-23 05:02:16
|
Hi, I am new user of tktable and having some problems. Can anybody please tell me - How to insert widgets like combobox, buttons, entryfield into tktable cells. - Single click on a cell puts into editable mode, I want the cell to be selected on single click and editable on double click - Clicking on a header selects the row or column, I want to disable this feature - How to detect the type and position of mouse events on tktable, like leftclick, rightclick on (row, col) If anybody has answer to any of these questions please reply soon, its very important. Sanjay |
|
From: Kevin W. <sw...@wo...> - 2004-09-02 18:26:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm not sure where to go to help with a problem with Tk/Tile--I've gotten no reply on comp.lang.tcl, so thought this might be a better list to try, as there's no tile-user's list and I'm not a Tile developer. If I'm looking in the wrong place, please advise. Anyway, my situation: I'm trying to create a GUI using the Tk Tile theming system and I'm having problems with the notebook widget. Here's my code: #make notebook tframe .notebookholder pack .notebookholder -side top -fill x tnotebook .notebookholder.nb -padding 6 .notebookholder.nb add [tframe .notebookholder.nb.stuff] -text "The real deal" .notebookholder.nb add [tlabel .notbookholder.nb.label1] -text "Not much going on here..." .notebookholder.nb add [tframe .notebookholder.nb.f1] -text "First tab" - -underline 4 .notebookholder.nb add [tlabel .notebookholder.nb.label2] -text "TkDarwinPorts rules!" pack .notebookholder.nb -side bottom -fill y I want the two tframe widgets (.notebookholder.nb.stuff and .notebookholder.nb.f1) to be the tabs, and the two tlabel widgets (.notebookholder.nb.label1 and .notebookholder.nb.label2) to be the child widgets, i.e. the windows that are displayed beneath the tabs. But this code only gets me the tabs with no windows underneath. Can someone explain to me what I'm doing wrong here? I've looked at the sample code for the Tile demo, but I'm pretty new to Tcl and that particular code is hard for me to follow and I haven't seen a lot of other applications using this particular widget set. By the way--Tile is an incredible thing for Mac-based Tcl/Tk developers. ~ Finally, Tk can look completely native! Tk/Aqua is a great achievement, but it misses some parts of the Apple HIG, especially the pinstripe background. I'm working on a GUI for DarwinPorts (written in Tcl), and one of the reasons I'm using Tk and Tile is to show that great Mac interfaces can be done in this toolkit. Thanks. - -- Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:sw...@wo... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBN2XqF6m9qPmThLQRAhHeAJwLLDiE9MMJ+imiNcKRNOSkqTbe/wCeLai9 FA5ZBaWnZopRvuMZucH6Oa0= =6bwr -----END PGP SIGNATURE----- |
|
From: Seena <sm...@en...> - 2004-08-31 10:10:04
|
Thanks Jeff.Yes that link error was due to tkTablePs.obj not included in compiled files.And it started creating postscript file but it is empty!!!!Have anybody ever tried this feature in tKtable.Or any other option of printing TkTable other than dumping it in txt or xls file bcoz i really need the exact print of what we are seeing .This is very urgent and any help in this direction will be really useful.. regards, Seena Jeff Hobbs wrote: >> I am trying to do a Postscrpit enabled build for TkTable(2.8) on >>Windows.But it is showing link error "tkTable.obj : error LNK2001: >>unresolved external symbol _Table_PostscriptCmd.Tktable.dll : fatal >>error LNK1120: 1 unresolved externals" .I have already defined >>POSTSCRIPT in c code.Why is this error happening? >> >> > >You have to make sure that the tkTablePs.c file is added to >the set of compiled files. > >Note that postscript output is at best an alpha feature. I >don't really think it works correctly (haven't looked at it >in quite a while). > >Regards, > > Jeff Hobbs, The Tcl Guy > http://www.ActiveState.com/, a division of Sophos > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >_______________________________________________ >Tktable-users mailing list >Tkt...@li... >https://lists.sourceforge.net/lists/listinfo/tktable-users > > > |
|
From: Jeff H. <je...@Ac...> - 2004-08-30 19:14:20
|
> I am trying to do a Postscrpit enabled build for TkTable(2.8) on > Windows.But it is showing link error "tkTable.obj : error LNK2001: > unresolved external symbol _Table_PostscriptCmd.Tktable.dll : fatal > error LNK1120: 1 unresolved externals" .I have already defined > POSTSCRIPT in c code.Why is this error happening? You have to make sure that the tkTablePs.c file is added to the set of compiled files. Note that postscript output is at best an alpha feature. I don't really think it works correctly (haven't looked at it in quite a while). Regards, Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |
|
From: Seena <sm...@en...> - 2004-08-27 15:25:28
|
Hello, I am trying to do a Postscrpit enabled build for TkTable(2.8) on Windows.But it is showing link error "tkTable.obj : error LNK2001: unresolved external symbol _Table_PostscriptCmd.Tktable.dll : fatal error LNK1120: 1 unresolved externals" .I have already defined POSTSCRIPT in c code.Why is this error happening? Any other method to do a printing for TkTable? TIA, Seena |
|
From: Robert S. S. <ro...@co...> - 2004-08-09 21:04:50
|
> > Ulf, > > > TkTable 2.8 / 2.9 working without problems under Linux and Solaris. > > > > But my self compiled versions for Win32 didn't take the "selection" . > > > > Sometimes ago, I found the 2.8 dll as a binary. And this runs. Now I > > want to upgrade to 2.9 (the extend selection bug). But I have the same > > problem. > > > > The DLL from 2.8 didn't use external tcl and tk dll. My self compiled > > versions do. > > > > Can someone give me a hint? > > For some reason you aren't getting stubs compiled versions of > tktable yourself, if they have external Tcl/Tk dll dependencies. > Also, you might have an issue with the tkTable.tcl bindings, > which would address your "selection" issue. > > Jeff Hobbs, The Tcl Guy > http://www.ActiveState.com/, a division of Sophos > I've compiled the 2.9 revision, and I have a Tktable29.dll which seems to work ok ... compiled with MingW32, and using stubs ... <HINT> It took a little tinkering, as the Makefile had a: LIBS = gdi32.lib user32.lib By changing this manually to: LIBS = -L/usr/local/mingw32/lib -lgdi32 -luser32 </HINT> The .dll file was created, and tests out pretty well in the short time I've been toying with it. I can make it available if someone would like to put it up on a web site (ideally sf.net Jeff?) for download ... drop me a line if you have a suitable web distribution point ... Oh, and by suitable, AFAIR, tkTable has a license which is similar to tcl/tk -- ie: BSD style. If an attempt is made to gpl the binary or otherwise encumber the binary, that would be an UNSUITABLE distro point IMHO (eg: Active state bundles the Tktable28.dll -- but other licenses apply). Cheers, Rob. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-= Robert S. Sciuk http://www.controlq.com 259 Simcoe St. S. Control-Q Research tel: 905.576.8028 Oshawa, Ont. ro...@co... fax: 905.576.8386 Canada, L1H 4H3 |
|
From: Jeff H. <je...@Ac...> - 2004-08-07 00:51:20
|
Ulf, > TkTable 2.8 / 2.9 working without problems under Linux and Solaris. > > But my self compiled versions for Win32 didn't take the "selection" . > > Sometimes ago, I found the 2.8 dll as a binary. And this runs. Now I > want to upgrade to 2.9 (the extend selection bug). But I have the same > problem. > > The DLL from 2.8 didn't use external tcl and tk dll. My self compiled > versions do. > > Can someone give me a hint? For some reason you aren't getting stubs compiled versions of tktable yourself, if they have external Tcl/Tk dll dependencies. Also, you might have an issue with the tkTable.tcl bindings, which would address your "selection" issue. Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |
|
From: Ulf Z. <ulf...@pr...> - 2004-08-05 07:13:52
|
Hello, I'm using TkTable 2.8 with Linux, Solaris and Win32. We use Tc/Tkl 8.3 (and I can not change this to 8.4 .....) TkTable 2.8 / 2.9 working without problems under Linux and Solaris. But my self compiled versions for Win32 didn't take the "selection" . Sometimes ago, I found the 2.8 dll as a binary. And this runs. Now I want to upgrade to 2.9 (the extend selection bug). But I have the same problem. The DLL from 2.8 didn't use external tcl and tk dll. My self compiled versions do. Can someone give me a hint? Thanks... Ulf -- Dipl.-Ing. Ulf Ziemann Hochheimer Straße 47 - 99094 Erfurt FON : 0361 / 78930-70 FAX : 0361 / 78930-80 Pro Design Electronic & CAD-Layout |
|
From: Jeff H. <je...@Ac...> - 2004-07-19 20:55:18
|
> I am a newbie to tcl/tk. I need to use the tktable widget for > a project and would like to know if precompiled > libraries/binaries are available for tktable2.8 (Using tcl 8.3). Is there a need to use 8.3? You can get the latest core with numerous extensions (including tktable) at: http://www.activestate.com/Tcl Regards, Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |
|
From: Vardhini S. <bb...@ya...> - 2004-07-19 20:48:00
|
Hi, I am a newbie to tcl/tk. I need to use the tktable widget for a project and would like to know if precompiled libraries/binaries are available for tktable2.8 (Using tcl 8.3). If not what is the procedure to compile on windows? Thanks S P V __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ |
|
From: Jeff H. <je...@Ac...> - 2004-07-17 01:23:20
|
> What is the easiest way to detect when a cell border moves? I want to > change the contents of a status window whenever the user interactively > drags a table cell border to a new location. You would have to latch onto the bindings that run when you move borders around. Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |
|
From: Jeff H. <je...@Ac...> - 2004-07-17 01:22:35
|
Prashant, Apologies for this getting stuck in the queue - I check that rarely due to the amount of spam that comes through SF mailing lists. To ensure prompt delivery, please join the mailing list. > Could anyone please help me with these problems. > 1. How do i stop users from modifying the height and > width of certain rows containg protected cells while > allowing him to do the same at other places. This is a selective sort of resizable borders. There isn't anything built in to support this, but if you look at the tkTable.tcl bindings for border movement, you should see where you can create specialized bindings that act only on certain rows. > 2. How do i undo an action , specially those containing > text edit and cell resize actions There is an <Escape> binding mid-edit, otherwise you have to maintain state yourself for undos. Regards, Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |
|
From: Daniel T. <dan...@pi...> - 2004-07-09 10:04:42
|
Hi all, What is the easiest way to detect when a cell border moves? I want to change the contents of a status window whenever the user interactively drags a table cell border to a new location. thanks. dan. |
|
From: Prashant M. <pra...@no...> - 2004-06-24 14:22:58
|
Hi
Could anyone please help me with these problems.
1. How do i stop users from modifying the height and width of
certain rows containg protected cells while allowing him to do the same
at other places.
2. How do i undo an action , specially those containing text edit
and cell resize actions
thanks
Prashant
|
|
From: Jeff H. <je...@Ac...> - 2004-06-23 01:09:15
|
> I am trying to use the column titles to sort the table and > find that with selectmode set to extended -- and selecttype > to row - that the selection in the title cells of the column > causes the entire table to be selected - which was a bit of a > surprise to me. I would expect this if I had rowtitles and > coltitles and had selected the upper left most cell - but > otherwise I would anticipate not changing the selection if > selectype was row and a title column was selected. I could see that as surprising - you can see the behavior for this in the tkTable.tcl bindings. I would consider changing it if you have a better behavioral patch. > What interests me more -- would be to find a way to intercede > or configure the widget differently -- to stop that from > happening -- so that I might select the title for the column > -- and use it to sort the > column -- without changing the selection in the table. As those bindings are all in Tcl, it really is possible for you to change it as you will, customizing it for any particular app behavior. Jeff |
|
From: EXT-Kielty, S. <Sha...@bo...> - 2004-06-18 18:28:30
|
Hi --=20
I am trying to use the column titles to sort the table and find that
with selectmode set to extended -- and selecttype to row - that the
selection in the title cells of the column causes the entire table to be
selected - which was a bit of a surprise to me. I would expect this if I
had rowtitles and coltitles and had selected the upper left most cell -
but otherwise I would anticipate not changing the selection if selectype
was row and a title column was selected. =20
What interests me more -- would be to find a way to intercede or
configure the widget differently -- to stop that from happening -- so
that I might select the title for the column -- and use it to sort the
column -- without changing the selection in the table. =20
Any help would be appreciated. =20
Thanks=20
Shawn=20
Here's some sample code:=20
### Code start=20
package require Tktable=20
=09
proc SelectTable {cell} {
if [$::Table tag includes title $cell] {
# break
}
}
array set ::table1 {
header {"Type" MIG PVCS "PROP" "Element Name" "Last Modified"
"Additional Properties"}
} =09
=09
set sw2 [frame .a]=20
=09
set ::Table [table $sw2.table -cursor {} -variable table11
-browsecommand "SelectTable %C"]
pack $::Table -expand 1 -fill both=20
# pack $tree $sw $pw -expand 1 -fill both=20
pack $sw2 -expand 1 -fill both=20
$::Table configure \
-bg white \
-bd 0 \
-bordercursor sb_h_double_arrow \
-titlerows 1 \
-roworigin -1 \
-colorigin 0 \
-resizeborders col \
-rows 1 -cols 7 \
-relief sunken \
-width 0 -height 0 \
-autoclear 1 \
-rowstretchmode none \
-colstretchmode all \
-selectmode extended \
-selecttype row \
-colwidth 10 -anchor w -fg black=20
=20
$::Table tag configure title -bd 1 -relief raised -state disabled=20
$::Table set row -1,0 $::table1(header)
$::Table width 0 5 1 5 2 5 3 6 4 30 5 30 6 30
$::Table insert row 0 5=20
$::Table configure -state disabled=20
### Code start=20
|
|
From: Gregory P. <gre...@co...> - 2004-03-21 03:14:34
|
<!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$de0...@ac...">
<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$de0...@ac...">
<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:Tkt...@li...">Tkt...@li...</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>
|
|
From: Jeff H. <je...@Ac...> - 2004-03-21 01:40:55
|
> 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. 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. > Just curious, how come you didn't make each cell just a text widget? 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. Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |
|
From: Gregory P. <gre...@co...> - 2004-03-16 01:45:34
|
<!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>
I've actually wrote an Itcl spreadsheet widget which is 100% Tcl code.
It uses a<br>
canvas and text widgets. It has the basic features that I need and it
has a similar<br>
look and feel of MS Excel in the way cells are selected (expandable
selection box)<br>
and the ability to change font and colors for characters within a cell
(using tags within<br>
the text widget). The only downside is that it's slow for large tables.
TkTable is much<br>
faster drawing large tables because it's written in C and that was my
main motivation<br>
for scrapping what I have, however, it doesn't seem to have everything
I need in order<br>
to make it work the way I need it to.<br>
<br>
Were you able to take a look at the one suggestion I had about
resizing? Basically,<br>
you would only resize the non-title cells only when Button 1 is
released. This could<br>
be an option that is almost a must have for very large tables,
especially, if each cell<br>
is a text widget or some other widget.<br>
<br>
Just curious, how come you didn't make each cell just a text widget?
Then it would<br>
have all it's built-in capabilities?<br>
<br>
Greg<br>
<br>
Jeff Hobbs wrote:<br>
<blockquote type="cite"
cite="mid052e01c40ad8$269047e0$de0...@ac...">
<blockquote type="cite">
<pre wrap="">Basically, my overall goal is to duplicate some of the basic
features that MS Excel has. For example,
the way a region of cells appears when they are selected,
double clicking in order to edit a cell etc...
</pre>
</blockquote>
<pre wrap=""><!---->
Why is it that the current basic cell features don't suffice
for recreating the basics of MS Excel? Perhaps you should
consider the "moving" entry widget that was described earlier.
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
</pre>
</blockquote>
</body>
</html>
|
|
From: Gregory P. <gre...@co...> - 2004-03-16 01:34:18
|
<!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 Shawn,<br>
<br>
I understand your suggestion, however, I don't want to remove the text
widget. I want all the cells contents visible<br>
to the user at all times. The user needs to have control over font
size, foreground and background colors and not<br>
just on the whole text widget. They need to have the ability to make
these change on individual characters within<br>
each widget. As far as I know the only way to do this is to use the
text widget. The only downside is a performance<br>
loss when resizing rows and columns for large tables.<br>
<br>
Thanks for the suggestion,<br>
<br>
Greg<br>
<br>
Shawn Kielty wrote:<br>
<blockquote type="cite"
cite="mid...@ea...">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1400" name="GENERATOR">
<div><font face="Arial" color="#0000ff" size="2"><span
class="312021118-11032004">I think a way to handle the desire to have
each cell bound to specific activities {to make it more excel like)
might be to create an embedded text widget in the active cell that has
a unique tag to which all the cell specific bindings are bound - this
gives a place to write the bindings that are unique to the table
cells. Destroy the embedded widget - and create another when the
active cell changes. -- The appearance is of all the cells being
bound. It's a fair bit of work to get excel like tables, and becomes
more interesting as you look at cell or row/column multi-selection and
cut and paste functionality -- and cross platform behavior issues,
Again -- there will be some performance issues, but this might be an
improvement over creating an embedded text widget in every cell.. </span></font></div>
<div> </div>
<div><font face="Arial" color="#0000ff" size="2"><span
class="312021118-11032004">Shawn </span></font></div>
<blockquote>
<div class="OutlookMessageHeader" dir="ltr" align="left"><font
face="Tahoma" size="2">-----Original Message-----<br>
<b>From:</b> <a class="moz-txt-link-abbreviated" href="mailto:tkt...@li...">tkt...@li...</a>
[<a class="moz-txt-link-freetext" href="mailto:tkt...@li...">mailto:tkt...@li...</a>]<b>On Behalf Of </b>Gregory
Pierce<br>
<b>Sent:</b> Thursday, March 11, 2004 6:39 AM<br>
<b>To:</b> Jeff Hobbs; <a class="moz-txt-link-abbreviated" href="mailto:tkt...@li...">tkt...@li...</a><br>
<b>Subject:</b> Re: [Tktable] Support for bindings<br>
<br>
</font></div>
Hi Jeff,<br>
<br>
Jeff Hobbs wrote:<br>
<blockquote cite="mid016d01c40712$6dcd18a0$de0...@ac..."
type="cite">
<blockquote type="cite">
<pre wrap="">Is there any planned support for adding bindings to
individual cells?
</pre>
</blockquote>
<pre wrap=""><!---->
What can't you already do through the global bindings and the
commands that tell you the current cell?
</pre>
</blockquote>
I do see your point. I was thinking that you needed to have a binding
for each cell. However,<br>
I think I can accomplish what I want through a global binding and the
commands you mention.<br>
<br>
<blockquote cite="mid016d01c40712$6dcd18a0$de0...@ac..."
type="cite">
<pre wrap=""> </pre>
<blockquote type="cite">
<pre wrap="">Also, is there any plan to have each cell
have the same functionality as a text widget (bindings,
selection etc...). This would be a great
</pre>
</blockquote>
<pre wrap=""><!---->
It may be great, but you are just better off embedded a text
widget there if you really need one. That's a huge effort
that I don't see ever being done due to the complexity
involved (when just embedding a widget works too).
</pre>
</blockquote>
I tried the text widget in each cell and it does have an effect on
performance. The other<br>
downside (which may have a workaround) is when you select a region of
cells when<br>
-selectionmode extended there's no indication that the cells are in a
selected region<br>
(background color doesn't change). I have to admit that I didn't play
around with all the<br>
options available to see if I can't get this to work. Is there a way to
have the text widget<br>
not cover up the column and row separators? Also, is there a way to
have the column and<br>
row separators turn a darker color (highlighted) when they are selected?<br>
<br>
Basically, my overall goal is to duplicate some of the basic features
that MS Excel has. For example,<br>
the way a region of cells appears when they are selected, double
clicking in order to edit a cell etc...<br>
<br>
Thanks for you help,<br>
<br>
Greg<br>
<br>
<blockquote cite="mid016d01c40712$6dcd18a0$de0...@ac..."
type="cite">
<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:Tkt...@li...">Tkt...@li...</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>
------------------------------------------------------- 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:Tkt...@li...">Tkt...@li...</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></blockquote>
</blockquote>
</body>
</html>
|
|
From: Jeff H. <je...@Ac...> - 2004-03-15 21:57:05
|
> Basically, my overall goal is to duplicate some of the basic > features that MS Excel has. For example, > the way a region of cells appears when they are selected, > double clicking in order to edit a cell etc... Why is it that the current basic cell features don't suffice for recreating the basics of MS Excel? Perhaps you should consider the "moving" entry widget that was described earlier. Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos |