[Pythonmac-SIG] NSMovieView question
Steve Spicklemire
steve at spvi.com
Fri Jul 1 22:08:18 CEST 2005
Beware.. initWithURL_error_() returns a tuple.. the first element of
the tuple is the QTMovie, the second is (presumably) the error. I
think it's because python has no concept of a 'pointer to memory', so
rather than pass in a pointer, you get a 'tuple' return value.
-steve
On Jul 1, 2005, at 3:03 PM, Bob Ippolito wrote:
>
> On Jul 1, 2005, at 9:14 AM, Jared Barden wrote:
>
>
>> I appreciate all the QTMovieView help. Hopefully this will be the
>> last question on the subject. In my app, I create a QTMovie with
>> the initWithURL_error_() call. When I try to do a setMovie_() with
>> the QTMovieView, I receive the following error:
>>
>> ValueError: NSInvalidArgumentException - *** -[OC_PythonArray
>> quickTimeMovieController]: selector not recognized [self =
>> 0x5247f90].
>>
>
> That means you're passing an array somewhere that you should be
> passing something else.
>
> -bob
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>
More information about the Pythonmac-SIG
mailing list