Here is an update to my experimenting... I am testing with a 2 column table and the second column has the tag COL1.
So I have this PERL code: Tkx::TreeCtrl__SetSensitive ($rawtable{$tlabel}, "{COL1 style1 elemRectangle elemText}"); # List of lists: {column style element ...} specifying text elements # the user can edit Tkx::TreeCtrl__SetEditable ($rawtable{$tlabel}, "{COL1 style1 elemText}"); which does not error out. However, when I click on a cell the whole row is marked selected, not the individual cell as I was expecting, but then I tried the PPM Repository and see that the whole row is marked selected as well. So my first question: is there any way to just mark the cell selected? With regards to my PERL segment here does it look okay and what suggestions does anyone have for when I add more columns? I still need to add the little snippets for the editing, but any examples you would/could provide would be appreciated. Again I am using PERL with Tkx. Many Thanks in Advance, gary --- On Fri, 9/16/11, vadrer <m...@vadrer.org> wrote: > From: vadrer <m...@vadrer.org> > Subject: Re: treectrl widget > To: "Jeff Hobbs" <je...@activestate.com> > Cc: "gary sachs" <conversecoroll...@yahoo.com>, tcltk@perl.org > Date: Friday, September 16, 2011, 4:41 PM > On Fri, 2011-09-16 at 09:42 -0700, > Jeff Hobbs wrote: > > On 15/09/2011 4:36 PM, gary sachs wrote: > > > Using AS PERL 5.12 > > > TCl 8.5.9 > > > Windows XP SP3 > > > > > > I have been working with the TREECRTL widget in > PERL/Tkx for a while now and have good luck. But now I would > like to be able to set up a table of data for graphing and > have the ability to edit a "cell" in that table. Does any > one have a PERL example for TREECTRL showing how to enable a > "cell" for editting? > > > > I don't have a Perl based example, but you can find a > Tcl example (with > > necessary bindings and command calls) at > > > <AP_Install>/lib/ActivePerl/PPM/tcl/ppm_repolist.tcl. > Search for 'edit'. > > I can cook Tcl::Tk example (rather than Tkx, which is not > my area of > expertise) > > let me know if this is of any interest. > > Regards, > Vadim. > >