# Running python-gtk with GNURadio

**URL:** <https://www.ruby-forum.com/t/running-python-gtk-with-gnuradio/215734>\
**Category:** GNU Radio\
**Created:** [January 13, 2012, 10:09pm UTC](https://www.ruby-forum.com/t/running-python-gtk-with-gnuradio/215734 "2012-01-13T22:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [January 13, 2012, 10:09pm UTC](https://www.ruby-forum.com/t/running-python-gtk-with-gnuradio/215734/1 "2012-01-13T22:09:06Z")

</div>

Hi all,

I’m trying to create a GUI for my GNURadio program using python-gtk on a  
USRP E100. I have GNURadio and pythong-gtk working separately. But now  
that  
I’m combining them, the graphic windows goes blank and waits for the  
GNURadio part to finish. Is there a better way to do this?

Thank you,  
Rithirong Thandee

---

<div class="post-metadata">

**Author:** ![FonS\_Rithirong\_Than](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/8dc957/32.png) [@FonS\_Rithirong\_Than](https://www.ruby-forum.com/u/FonS_Rithirong_Than)\
**Post date:** [January 13, 2012, 10:24pm UTC](https://www.ruby-forum.com/t/running-python-gtk-with-gnuradio/215734/2 "2012-01-13T22:24:34Z")

</div>

Fon -

Can you detail how you are combining them? If you are executing GNU  
Radio  
stuff from the primary thread in your GUI application, it will stop  
re-drawing the window (because the thread is busy executing GNU Radio).

Also, all GUI updates must happen from your main thread.

Cheers,  
Ben
