llancet has asked for the wisdom of the Perl Monks concerning the following question:
In gnome's site, it is said that threads must be created before any GTK widgets created, just like those on Tk. However, in Gtk2 perldoc, it provides an option:
, and says that would allow the use ofuse Gtk2 qw/-init -threads-init/;
andGtk2::Gdk::Threads->enter
I cannot find any more documentation about that. Does that kind of mechanism provides threaded callbacks?Gtk2::Gdk::Threads->leave
Back to
Seekers of Perl Wisdom