On 18-05-18 17:56, Russel Winder wrote:

gtkmm has a fairly horrible way of putting function calls onto the GTK event loop queue from another thread. Rust has a function for one thread to add a closure for execution onto the event queue. It was nicer than the gtkmm way of doing things but then… the gtk-rs folk added the ability to use futures and channels of futures with the GTK even loop. This makes connection things from one thread to the GTK thread really easy and very "reactive programming".

Does GtkD already have something like this (and I have missed it) or has it yet to do something like this?

We currently don't have anything like that, do you have an example on
how this works with gtkmm and/or gtk-rs?