Re: display stopped by another program



Daniel,

I've designed things this way because I can't have an "interruptible loop" using Gtk.  After much effort this was the only way I ever found to do it.

However, what you said gives me an idea!  I'm currently creating the Pixbuf, whose data I'm manipulating, in the thread.  I'll instead try creating it in the UI and making it global, and see if that makes a difference.

Many Thanks,

Alex



On 01/18/2018 01:45 PM, Daniel Boles wrote:
The general rule is that only the thread in which GLib/GTK+/etc. was initialised should ever do anything with widgets or other non-trivial objects. If you're doing that, all bets are off. But it's not really clear whether you are.



_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]