Re: Invoking GTK main thread from other threads

from your readme:

> GTK# and other gtk bindings supply a method to callback to the main thread, which gtkmm does not.

I'm pretty sure it does. Or rather, GLib does, and GTK uses the GLib main loop, and glibmm/gtkmm wrap both of those.

You simply connect to Glib::signal_idle(), passing a callback, which will be called once the GLib main loop is running and has nothing of a higher priority to do.

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