i have a TCP communication in a background thread,
and want to pulse a progressbar while that is going on,
with the mutexed Gtk.timeout_add threading method,
i even tried to run `while Gtk.events_pending? do
Gtk.main_iteration_do(false);end` in it,
but the problem is, i guess, my background thread has higher priority
than Gtk's main loop.
the progress is not moving smoothly, it's stuck for a while, then it
pulses too fast, than stuck again.
the question is: can i increase the priority where gtk is run? (i guess
it's main loop)
thanks in advice