[Pythonmac-SIG] PyObjC: dragImageForRowsWithIndexes_tableColumns_event_offset_() causes "PyObjCPointer created" error
Ronald Oussoren
ronaldoussoren at mac.com
Tue Mar 14 21:26:42 CET 2006
On 13-mrt-2006, at 19:51, Michael Glassford wrote:
> I added a dragImageForRowsWithIndexes_tableColumns_event_offset_()
> method to an NSTableView subclass that I have created. It's working
> OK,
> but every time it is called, a message like this is printed to the
> error
> log:
>
> "PyObjCPointer created: at 0xbfffcb50 of type {_NSPoint=ff}16
> dragImageForRows_event_dragImageOffset_()"
That means I have to spent some quality time with PyObjC :-). One of the
arguments of this method is an input/output argument and I haven't added
the required annotations to PyObjC yet.
>
> I had a similar problem with
> tableView_toolTipForCell_rect_tableColumn_row_mouseLocation_(), which
> caused a crash on some machines. It was fixed by changing the
> signature
> of that function in AppKit/protocols.py. I looked for a way to change
> the signature of
> dragImageForRowsWithIndexes_tableColumns_event_offset_,
> but couldn't find it anywhere.
You can add a simular defintion for
dragImageForRows_event_dragImageOffset_
in the same file.
Ronald
>
> Suggestions?
>
> Mike
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list