Re: Run menu action in background
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-perl-list gnome org
- Subject: Re: Run menu action in background
- Date: Thu, 11 Jan 2007 20:30:24 +0000
On Thu, 2007-01-11 at 14:23 -0600, Nik Ogura wrote:
If your subroutine is basicaly just a loop then you can generally get
away with adding
Gtk2->main_iteration while Gtk2->events_pending;
That did it for me. Thanks.
Where do I find the documentation for those functions? What is it
listed under? I want to know where to look in the future.
Every function pertaining the GLib's main loop (which is also used by
GTK+) is listed under the Glib::MainLoop perldoc page. The original
documentation for the main loop can be found here:
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html
And, obviously, on Google.
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]