El lun, 20-08-2012 a las 22:07 -0700, Tony Amort escribió: > On Mon, Aug 20, 2012 at 9:55 PM, Germán A. Arias <[email protected]> > wrote: > El lun, 20-08-2012 a las 20:55 -0700, Tony Amort escribió: > > I wrote a simple table based document app based on the > "Money" > > tutorial. I used it to store trip mileages and notes. > > > > I run Slackware, and recently got a new computer and put > Slackware64 > > on it. I installed all the gnustep stuff and copied my > ProjectCenter > > directory to the new machine. I built the project without > complaint > > and when I run it is starts fine and it loads my old data. > > > > I can drag a row from an existing document into a new one > fine. > > > > I cannot double-click in a row and add new data. It selects > the row > > but doesn't give a cursor. > > > > This code runs fine on my 32-bit system, and throws no > errors on the > > new one--it just doesn't work. The versions are NOT the > same--on my > > original system I used slackware packages someone else > built, on the > > new system I have compiled everything in multiple versions > and all > > work the same. > > > > What am I missing? How do I track this down? > > > _______________________________________________ > > This is caused by some changes in latest packages of gnustep. > If I > remember correctly you should add something like: > > - (void) tableView: (NSTableView*)aTableView > willDisplayCell: (id)aCell > forTableColumn: (NSTableColumn*)aTableColumn > row: (int)rowIndex > { > [aCell setEditable: YES]; > } > > Hope this help. > > Thanks! This fixed it. Is this documented anywhere?
As far as I know, no. But this is conform with Cocoa. I suppose that in Cocoa you can edit these attributes on Interface Builder. _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
