Re: Signal Handler Block
- From: Dermot Musgrove <dermot glade perl connectfree co uk>
- To: Paolo Molaro <lupus ximian com>
- Cc: gtk-perl-list gnome org
- Subject: Re: Signal Handler Block
- Date: Tue, 20 Nov 2001 18:11:41 +0000
Paolo Molaro wrote:
On Tue, 6 Nov 2001, Paolo Molaro wrote:
I guess Glade2Perl could save somewhere the connection id (and the same
can be done by the GladeXML module), or it could accept a callback
from the user that reports the connection id.
Thinking a bit more about this issue: it happens so rarely that you need
to know the connection id for a signal that adding API and support for
it is too much to pay. A simple solution is to connect to that signal
yourself and remove the connection from the glade file.
Hi, yes I agree. Nobody has asked for this in the past and I have never
even needed to use a signal handler connection ID for anything.
I have added a user option to generate the code that I described in a
previous email (also catering for connection 'after') and that will
appear in Glade-Perl-0.60 but I don't think that anyone will ever really
need to use it. In any case, it is pretty horrible since you need to
specify the form, widget, signal and whether it is connected normally or
after.
I am sure that it is better to store specific signal connections when it
is absolutely necessary rather than provide a generic mechanism for _all_
signals connected.
Regards, Dermot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]