[Pythonmac-SIG] PyObjC: dragImageForRowsWithIndexes_tableColumns_event_offset_() causes "PyObjCPointer created" error
Michael Glassford
glassfordm at gmail.com
Tue Mar 14 21:48:40 CET 2006
Ronald Oussoren wrote:
> 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.
I did: it has the same problem, and I couldn't find a way to fix that
either. Did I miss something?
Mike
> Ronald
>
>> Suggestions?
>>
>> Mike
>>
>> _______________________________________________
>> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
More information about the Pythonmac-SIG
mailing list