Re: widget show() / hide() crashes application

2018-04-03 Thread Yuri Khan
On Tue, Apr 3, 2018 at 5:56 PM, Tilo Villwock wrote: > Just as a hint: in case you're trying to embed screenshots here, it's > not allowed. You need to upload it somewhere and link it in your mail. More to the point, error messages quoted as text are much more useful than screenshots. They surviv

Re: widget show() / hide() crashes application

2018-04-03 Thread stfl
I figured that I have to instruct the main loop somehow to do that job for me. I just didn't know how to do it :D Thank you very much for that hint. greetings, Stefan -- Sent from: http://gtk.10911.n7.nabble.com/Gtk-Apps-Dev-f3.html ___ gtk-app-devel

Re: widget show() / hide() crashes application

2018-04-03 Thread Emmanuele Bassi
You're likely trying to call GTK functions from different threads, which is not allowed. You should schedule UI updates in the main thread, using GLib.idle_add(). Ciao, Emmanuele. On 3 April 2018 at 10:28, stfl wrote: > I am writing a Python 3 GStreamer Client application. > I receive fps me

Re: widget show() / hide() crashes application

2018-04-03 Thread Tilo Villwock
Just as a hint: in case you're trying to embed screenshots here, it's not allowed. You need to upload it somewhere and link it in your mail. Am Dienstag, den 03.04.2018, 02:28 -0700 schrieb stfl: > I am writing a Python 3 GStreamer Client application. > I receive fps measurments from fpsdisplaysin

Widget show()/hide() crashes

2018-04-03 Thread stfl
I am writing a Python3 Gstreamer client application. I regularly receive Gstreamer signals and on a certain condition I want to show() or hide() a certain widget in my Gui. This works for a few times but at some point the entire Application crashes. When I connect it to a button press event from t

widget show() / hide() crashes application

2018-04-03 Thread stfl
I am writing a Python 3 GStreamer Client application. I receive fps measurments from fpsdisplaysink as a GStreamer Signal. If the fps drops too low I dissplay an overlay over the gtksink (which is connected to the fpsdisplaysink). When I show() and hide() the overlayed Gtk.Box sometimes the entire