Tkinter is Python's de-facto standard GUI (Graphical User Interface) package.

learn more… | top users | synonyms

0
votes
1answer
49 views

Arcpy scripts run time dialog keeps deactivating tkinter window

I'm using tkinter in my scripts to get field names of the user in case the hard coded field names were not found in the target feature. it runs from python IDE, but when run from arcmaps toolbox the ...
1
vote
1answer
99 views

Trying to use Tkinter to open dialog box in ArcMap

The following script works great from the command line but crashes from the pythonaddin: import Tkinter import tkFileDialog root = Tkinter.Tk() root.withdraw() pathtest = ...
0
votes
1answer
183 views

Creating Tkinter dialog box in arcpy?

I would like to create a dialog box which pops up when the user click on a button from a Python Add-In toolbar. The user will navigate to their preferred file and select any shapefiles they wish to ...
0
votes
0answers
54 views

Progress dialog box of ArcGIS Python script tool stealing focus from TKinter GUI?

I created a script tool in the custom toolbox, it runs like this: But the default progress dialog keep stealing focus from the Tkinter GUI, that makes me so hard to move/resize the OpenFileDialog, ...
1
vote
0answers
128 views

How to install pygame or Tkinter for QGIS Python?

So i have downloaded pygame and installed it. Now i want to write scripts and run them through the QGIS console that implement methods of pygame but when the console reads "import pygame" i get a ...
0
votes
1answer
102 views

How to show the attribute table of selected features using arcpy?

Is there a way to show the attribute table of selected features using arcpy? Maybe in the mapping module? I would like to be able to select some features and then have an Add-In button that ...
1
vote
2answers
243 views

Prompting “parameter window” during execution of ArcGIS Python script tool (or model)?

I am pretty new to ArcGis and ArcPy, so I apologize if my question seems straightforward. However, I have been looking on the web for quite a while and didn't find any answer so far. I am using ArcGIS ...
1
vote
0answers
22 views

Delete a file engaged in a process

I am trying to delete a file which is involved in a process. Using the following line to obtain the file name. Tkinter file_output_name = ...
1
vote
2answers
220 views

Specify a GDB feature class using Python Tkinter dialogue box

I tried to specify a feature class from a GDB dataset through Python Tkinter tkFileDialog.askopenfilename. Below is the script. It worked for me in the past when I was dealing with .txt or .las files. ...
1
vote
0answers
168 views

How can a script tool share (dynamic) variables among different modules?

I'm running a python script from the toolbox window (as a script tool). I have a second python (tkinter) module that I use as an input interface. Now, I know that the script tool can call the ...
1
vote
0answers
182 views

Python add-in user input not working ArcGIS 10.1

I made an add-in in python and it works fine on my machine, but on other machines it spits out an error, sometimes for Tkinter widget and when I use Tkfiledialog using a separate file, it spits out ...
7
votes
2answers
582 views

How can I speed up my arcpy script?

I have written an application that does a lot of geoprocessing using arcpy. Once started, the application itself runs at an acceptable speed, but it is very slow to boot. It can take 30 seconds or so ...
3
votes
1answer
348 views

TKinter to provide variables

I've been looking for a way to enter a unique field name into an attribute table for up to 40 feature classes. I need the field names to be meaningful, not just 'field1', 'field2' etc. For example, if ...
2
votes
1answer
254 views

custom dialog box for data and options settings

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 ...
4
votes
1answer
956 views

Using Gui tools and arcpy.mapping

For a project I want to create a little program that does simple things like export a map from the python command line, but also users are able to edit said map (without having to open arcmap) e.g ...
11
votes
4answers
4k views

How to develop GUI in Python for geoprocessing?

I want to develop GUI in Python for geoprocessing, but I don't know what is the best GUI tool or library (Tkinter, PyQT, wxPython) for geoprocessing? Can I use PyQT for GUI programming in ArcGIS?
5
votes
5answers
4k views

How do I build a form within ArcMap?

I am building a file geodatabase using ArcGIS. The gdb is going to be distributed to dozens of 'stand alone' machines. End users are expected to populate the gdb with data. End users do have ArcGIS ...