[pygtk] g_signal_stop_emission_by_name equivalent

Edward Catmur ed at catmur.co.uk
Sun Jan 7 10:04:38 WST 2007


On Sun, 2007-01-07 at 00:57 +0000, Christopher Backhouse wrote:
> Nope...
> 
>      gobject.stop_emission(widget,'insert_text')
> AttributeError: 'module' object has no attribute 'stop_emission'


gobject.GObject.emit_stop_by_name
    def emit_stop_by_name(detailed_signal)
detailed_signal :
a string containing the signal name

The emit_stop_by_name() method stops the current emission of the signal
specified by detailed_signal. Any signal handlers in the list still to
be run will not be invoked.

Ed


> Tony Nelson wrote:
> > At 4:01 PM +0000 1/5/07, Christopher Backhouse wrote:
> >> Sorry for the stupid question...
> >> What is the python equivalent of g_signal_stop_emission_by_name() ?
> >  ...
> > 
> > I think it is gobject.stop_emission().



More information about the pygtk mailing list