Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rendering: show error message on exception in render thread #165
Could someone with gtk experience fix this commit?
The idea is to show a error message by creating a gtk button with a given label.
But the attached code does not show any gtk button after the exception is thrown in RenderThread::init().
I now see why it doesn't work:
@devkral, can you provide a patch? I can't make gtk_container_remove to work, because the widget is the toplevel window (in the standalone case) which can't be removed.
Maybe the rendering should be done on a child widget, which could be swapped to a label when an error occurs.