Is there an example of a popup window been spawned as part of another process?

In my case I want to write an importer that will invoke a popup if an image path can not be found and allow the user to browse to another path, this path can then be used to search for the image at a different location. When the file first cannot be found, the main addon raises an exception, I want this exception to cause the popup.

I don't know addons well, but the popup itself is not a menu option just something that is a result of another menu option not been able to complete.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.