Re: Executing functions after Gtk2->main is started?



* wangxiaohu <xiaohuwang hotmail com> [2005-05-26 01:50]:
I want to execute some functions after Gtk2->main is started,
without using threading. Any advises?

Schedule them for running using Glib::Timeout->add(). On the
first run return a false value.

See perldoc Glib::MainLoop.

Regards,
-- 
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;



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