I am attempting to create a dynamic QCInputPort of type index, which is has a menu reflecting some internal state of the plugin. In short, is there a way to change a port, from within the plugin itself? Thanks, id really love to keep everything within the plugin, so the host apps dont have to know a thing, or provide a thing, since, well, thats the point of a plugin :)
I think the attribute dictionary for a port is immutable -- this is true even for the unofficial API. So I don't think there's a clean way to change the index menu. Host apps don't expect a published port's parameters to change, so by changing it you will violate your own goal to have the host app not know a thing -- if they cache port stuff or only fetch it once, they'll present stale information to the user).
Perhaps there's some other way you can structure your plugin's input to reflect its internal state. Or, dynamically create/delete ports (though changing this based on input ports, and not inspector panel inputs, is a Bad Idea [if it's even possible] since QC's graph will change when ports get deleted) with the proper attributes.
-- [ christopher wright ] [EMAIL PROTECTED] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

