Re: Gtk cookbook
- From: Paolo Molaro <lupus ximian com>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk cookbook
- Date: Sun, 11 Feb 2001 16:17:39 +0100
On 01/24/01 Etienne Grossmann wrote:
A few typos, in the patch below. Also, I put in some C<>'s around
code in paragraphs (maybe not a good idea, after seeing the effect on
pod2latex) and replaced >'s by C<gt>. At the end, put a long line of
code in two lines.
Thanks, the updated cookbook is on the cvs server in Gtk/cookbook.
Question : in the "Idle events" section, the handler will be called
once only, because it returns FALSE. Right?
Yep, there is a comment to that effect:
sub handler {
my ($data) = @_;
# do something here ...
# return 1 if you want the handler to be called again
# return 0 to stop the handler from being called again
return 0;
}
If it's not clear enough, feel free to make suggestions.
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]