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

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

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