# Allowing Macro Interactivity with tkinter

**URL:** https://discourse.paraview.org/t/allowing-macro-interactivity-with-tkinter/5941
**Category:** ParaView Support
**Tags:** python
**Created:** [December 1, 2020, 4:37am UTC](https://discourse.paraview.org/t/allowing-macro-interactivity-with-tkinter/5941 "2020-12-01T04:37:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Euan\_de\_Kock](https://discourse.paraview.org/user_avatar/discourse.paraview.org/euan_de_kock/32/5396_2.png) [@Euan\_de\_Kock](https://discourse.paraview.org/u/Euan_de_Kock)
#### Post date: [December 1, 2020, 4:37am UTC](https://discourse.paraview.org/t/allowing-macro-interactivity-with-tkinter/5941/1 "2020-12-01T04:37:29Z")

</div>

Hi,

I am asking this again, because I cannot find a reasonable explanation of why this isn’t supported.

I have a need to get some input from a user as part of my macro script. I will then make a call to a web server’s REST interface to pull in a dynamically generated vtkPolygon object, and display it along with some added filters.

I built this on my local PC, running Fedora Linux, and using tkinter - it works out of the box.

However when I run it from the compiled downloaded version it doesn’t work. Even though the tkinter python libraries are available in the lib folder, the actual Tk and Tcl C libraries are not packaged with Paraview.

The only reason I have seen given is that because Paraview and pvpython share the code base it doesn’t make sense to provide a GUI library. However native python itself comes with tkinter support installed by default, and is supported from the command line.

 ![Screenshot from 2020-12-01 12-32-22](https://discourse.paraview.org/uploads/default/original/2X/2/20e936914feac66403ebd42a3f0a0854d5064380.png)

This would really extend the functionality of Paraview, please can I ask you to consider adding support for it.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 1, 2020, 9:11am UTC](https://discourse.paraview.org/t/allowing-macro-interactivity-with-tkinter/5941/2 "2020-12-01T09:11:58Z")

</div>

Afaik, this is supported if you build ParaView yourself and using your own python containing tkinter.
