I want to design a custom dialog window where i can select various datasets of choice using scroll down option and specify some conditions and thresholds. Right now i am using python addins within arcgis 10.1 for toolbar and tools. I came across tkinter and wxpython as options for dialog box designing. Will there be a conflict between using tkinter or wxpython within addin scripting?


I found a technique to do this described at Another GIS Blog under the title of Python Add-Ins and Tkinter:

ArcGIS for Desktop does not support any python GUIs out of the box, but let's say we want to have a form pop-up anyway. ...

One way to do this is to create a wx python instance at start up, which is create before the desktop python loop is created. You would then reference the wx loop instead of the ArcGIS python loop.. but it's complicated... You can also see tons of forum posts like this, that describe how the in process causes python to crash with GUIs: ArcGIS 10.1 Python AddIn Using Multiprocessing crashes ArcMap?

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.