|
From: Yvon T. <tho...@fr...> - 2006-02-16 15:36:54
|
Hey all, i want to show the content of an bookmarks xml file in a NSOutlineView. i've done all the : @safTree.setDelegate(self) @safTree.setDataSource(self) @safTree.reloadData() @safTree being the NSOutlineView and also : def outlineView_numberOfChildrenOfItem(aTree, bookmark) def outlineView_isItemExpandable(aTree, bookmark) def outlineView_child_ofItem(aTree, index, bookmark) def outlineView_objectValueForTableColumn_byItem(aTree, tableColumn, bookmark) def outlineView_shouldEditTableColumn_item(aTree, tableColumn, bookmark) after "@safTree.reloadData()" the root element is correctly displayed however, when clicking on it, i get the GDB (gnu debugger) and no Ruby message at all; the GDB console says : warning: Unable to read symbols for "@executable_path/../Frameworks/RubyCocoa.framework/Versions/A/RubyCocoa " (file not found). Program loaded. sharedlibrary apply-load-rules all Attaching to program: `/Users/yvon/work/RubyCocoa/BookmarksMerge/build/Development/BookmarksMe rge.app/Contents/MacOS/BookmarksMerge', process 2267. and GDB underlines the line : 0x909bf120 <+0032> lwz r11,0(r2) (seems to be asm which i don't understand...) is it a way not to get GDB ? also, after clicking, on root element in NSOutlineView, i get no call to either : def outlineView_numberOfChildrenOfItem(aTree, bookmark) def outlineView_isItemExpandable(aTree, bookmark) def outlineView_child_ofItem(aTree, index, bookmark) def outlineView_objectValueForTableColumn_byItem(aTree, tableColumn, bookmark) def outlineView_shouldEditTableColumn_item(aTree, tableColumn, bookmark) only the GDB is launched.... if someone has experienced such thing... Yvon |