Hello
I am attempting to create a dynamic QCInputPort of type index, which
is has a menu reflecting some internal state of the plugin.
Ive noted that one cannot call addInputPortWithType during the execute
method (as noted in the docs), and all of the developer examples ive
seen use an external nib, with bindings, to call addInputPortWithType
or removeInputPort, etc.
Is it possible to have a static published port created from a
@property declaration, but have the its contents (attribute
dictionary) changed on the fly?
Ideally, what I would like to do, is have the user click a 'refresh'
button, and then update the values of my index menu. However, I cannot
get around the 'called from execution - inconsistent state' issue,
even if I stop the plugin, call my function, and re-call it.
In short, is there a way to change a port, from within the plugin
itself?
enable, disable, start, stop, execute, all throw the same warning for
me.
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 :)
_______________________________________________
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]