Blocking signals

2006-09-18 Thread Ratcliffe, Jeffrey (Peters)
Because of a need for drag and drop, I have to keep a SimpleList manually sorted. However, I am having problems blocking the row-changed signal to prevent recursion. What have I got wrong here? #!/usr/bin/perl -w use strict; use Gtk2 -init; use Gtk2::SimpleList; my $win = Gtk2::Window-new;

Re: Blocking signals

2006-09-18 Thread muppet
On Sep 18, 2006, at 2:07 AM, Ratcliffe, Jeffrey (Peters) wrote: Because of a need for drag and drop, I have to keep a SimpleList manually sorted. However, I am having problems blocking the row- changed signal to prevent recursion. What have I got wrong here? First, you're trying to pack

Re: Blocking signals

2005-02-24 Thread Hazael Maldonado Torres
-Original Message- From: Luca Cappa [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 10:56 AM To: Prewitt, Nathan C ERDC-ITL-MS Contractor Subject: Re: Blocking signals Hello Nathan, if in your case a set_value call trigs another set_value call

Re: Blocking signals

2005-02-24 Thread Hazael Maldonado Torres
-Original Message- From: Luca Cappa [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 10:56 AM To: Prewitt, Nathan C ERDC-ITL-MS Contractor Subject: Re: Blocking signals Hello Nathan, if in your case a set_value call trigs another set_value call

blocking signals

2003-09-09 Thread Peter Van Osta
Hi, I am using a spinbutton of which I change the value by interactively by pushing the arrows, but also from another place in the software. However I capture the changed signal, which is very annoying when changing the value of the spinbutton in the program as it makes the callback function

Re: blocking signals

2003-09-09 Thread Sven Neumann
Hi, Peter Van Osta [EMAIL PROTECTED] writes: I am using a spinbutton of which I change the value by interactively by pushing the arrows, but also from another place in the software. However I capture the changed signal, which is very annoying when changing the value of the spinbutton in the

Re: blocking signals

2003-09-09 Thread Christer Palm
Peter Van Osta wrote: However I capture the changed signal, which is very annoying when changing the value of the spinbutton in the program as it makes the callback function respond also to the change of the spinbutton value. I'm sure that there are situations where blocking it makes sense, but in