Re: Problem using idle_add method
- From: Niel Das <idas watson wustl edu>
- To: Ross McFarland <rwmcfa1 neces com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Problem using idle_add method
- Date: Mon, 22 Mar 2004 14:21:21 -0600
That works for me. Thanks again for the assistance and pointing me to
the Glib::MainLoop man page.
Cheers,
Indraniel
Ross McFarland wrote:
Niel Das said:
However whenever I use "Glib->idle_add(\&callback_function, $data)"
instead, I get the following output error:
it's bound under Glib::Idle, from the Glib::MainLoop man page:
integer = Glib::Idle->add ($callback, $data=undef, $priority=G_PRIOR-
ITY_DEFAULT_IDLE)
* $callback (subroutine)
* $data (scalar)
* $priority (integer)
Run $callback when the mainloop is idle. If $callback returns
false, it will uninstall itself, otherwise, it will run again at
the next idle iteration. Returns a source id which may be used
with "Glib::Source->remove".
Can't locate auto/Gtk2/idle_add.al in @INC ...
the function is not bound under the Glib package, i would think that with the
code Glib->idle_add the above message would be auto/Glib/idle_add though.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]