Re: [Pyobjc-dev] NSTableView
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2004-04-04 02:02:04
|
On Apr 3, 2004, at 8:32 PM, Birch Browning wrote: > I have a python list that I'd like to use as a data source for a table > view. > > Does anyone have a simple sample they could post? I've tried (and > tried) to decipher the TableModel example without success. If you can depend on OS X 10.3+, then it is exceptionally easy using Cocoa Bindings. I can create an example that uses them (I actually did this from scratch in my PyCon presentation) if you want.. The real question is what is in your Python list? If it's just dictionaries with string keys, you hardly have to write any code at all using Cocoa Bindings. -bob |