Tktable is an extension written by Jeff Hobbs who is one of the
core Tcl/Tk developers.  It's been around in some form or another for
many years and is considered very stable.  My company uses it extensively
throughout our application. 0-]

D

> Its been around for sometime, although I am no expert. The only info I could find 
> was on the ActiveTcl site also.
> 
> 
> 
> -----Original Message-----
> From: Vern Van Zandt [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2003 8:49 PM
> To: Bartis, Robert M (Bob); [EMAIL PROTECTED]
> Subject: RE: [vtcl-user] Re: Tcl/tk Newbie - tktable Question
> 
> 
> Bob,
> 
> Thanks mucho for the help.  (...and this does help!)
> 
> ...is the Tktable widget a new item for Tcl/Tk?  I wasn't able to find much
> info on the web save for that at ActiveState's site...(?)
> 
> -Vern
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bartis,
> Robert M (Bob)
> Sent: Wednesday, November 12, 2003 6:52 AM
> To: 'Vern Van Zandt'; [EMAIL PROTECTED]
> Subject: RE: [vtcl-user] Re: Tcl/tk Newbie - tktable Question
> 
> 
> Not sure if you already received the information you needed on the header
> rows. I treat them the same way I do any row. I've extract a small part of
> the code I use to populate the header rows in my table along with the
> procedure that does the tableInsert. loadStatus is the global use by tkTable
> to store values it displays. fieldData is the alias to the table I created.
> 
> 
> code snippet .............
> # Force height of 1 row, header row to be 1 high. Remaining can stretch
> fieldDataTable height 0 1
> 
> set row 0
> set column 0
> set header [list "Device IP" "TFTP" "Release" "Binary" "Validation"
> "Status"]
> foreach h $header {
>     # Insert header text into row 0 column x
>     #
>     tableInsert $row $column $h
>     # Force the current column to a fixed width that will not
>     # stretch on window resize
>     #
>     switch $column {
>         0 {set defaultWidth 15}
>         5 {set defaultWidth 70}
>         default {set defaultWidth 11}
>     }
>     fieldDataTable width $column $defaultWidth
>     # Go to next column
>     #
>     incr column
> }
> 
> 
> proc {tableInsert} {row column val} {
> # Variable used by tktable to store values
> global loadStatus
> 
> set loadStatus($row,$column) "$val"
> }
> 
> -----Original Message-----
> From: Vern Van Zandt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 11, 2003 8:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [vtcl-user] Re: Tcl/tk Newbie - tktable Question
> 
> 
> oops,  That should have been "...select 'Insert'..."  not "...select
> 'Add'..."  -V
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, November 11, 2003 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: [vtcl-user] Re: Tcl/tk Newbie - tktable Question
> 
> 
> Ok, I figured out how the "set bindings" works from the options menu
> works.  Sorry for the dumb question(s) regarding that... (for anyone else
> who's still in doubt,  while in edit mode select the widget, then go
> to 'Options' 'Bindings'.  A dialog will appear showing a list on the left
> and an empty window on the right.  At the top of list on the left will be
> your selected widget.  Click on that item and then select 'Add' from the
> menu at the top of the dialog...  This will allow you to add a binding and
> edit accordingly.)
> 
> I'm still confused as to how to get the titles in the tktable to appear,
> as well as the question about the variables...
> 
> -Vern
> 
>  -----Original Message-----
> From:         Van Zandt, Vernon W
> Sent: Monday, November 10, 2003 9:27 AM
> To:   '[EMAIL PROTECTED]'
> Subject:      Tcl/tk Newbie - tktable Question
> 
> Greetings to the group.
> 
> I'm having trouble understanding how to set up a tktable in Vtcl (v1.6)...
> 
> First, I'm trying to set up row 0 to display column titles.  I've figured
> out how to specify that row 0 is a title row, but can't seem to find where
> to set the actual text.  I tried doing 'set <widget alias>
> (0,x) "sometitletext" as a line in the init process, but that doesn't
> appear to do the trick...
> 
> Secondly, I want to be able to have the user click on a cell and have the
> event do the following:
>     - remember the cell address
>     - unhide or show a window widget
> 
> I want to do the above so that I can copy the contents of entry boxes in
> the window widget to the array variable associated with the indexed cell
> in the table...
> 
> Any suggestions?
> 
> Thanks in advance,
> 
> -Vern
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/vtcl-user
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/vtcl-user
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/vtcl-user
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/vtcl-user
> 



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to