Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does QCPortAttributeMenuItemsKey work?



Hello once again,

Sorry to post such a newbie question, but how do I use QCPortAttributeMenuItemsKey to add a list of menu items to a port. I tried this, but it doesn't work, QC raises an exception.

[self addInputPortWithType:QCPortTypeIndex forKey:@"inputBlend"
withAttributes:[NSDictionary dictionaryWithObjectsAndKeys:@"Blending", QCPortAttributeNameKey,
[NSArray arrayWithObjects:@"Replace", @"Over", @"Add", nil], QCPortAttributeMenuItemsKey,
nil]];

I tried a few other things, but can't seem to find the correct way...

Thanks!

Regards,

Julien
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.