Re: GTK signals question.

2014-03-05 Thread A. Walton
On Tue, Mar 4, 2014 at 10:43 PM, Chris Moller mol...@mollerware.com wrote: Okay, I'm out of ideas... I'm writing an app, that among a lot of other stuff, has three mutually interacting spinbuttuns, i.e., if I increment spinbutton A, its callback then updates values in B and C. B and then

Re: Redistribution of GTK DLLs

2014-03-05 Thread Lucas Levrel
En date de : Mer 5.3.14, Chris Angelico ros...@gmail.com a écrit : The very easiest solution for my users would be for me to distribute a .ZIP file of eighteen DLLs, which my app can fetch and deploy. But that would require me to make the source of those DLLs available, and AFAICT pointing

Re: Redistribution of GTK DLLs

2014-03-05 Thread Chris Angelico
On Wed, Mar 5, 2014 at 10:18 PM, Lucas Levrel llev...@yahoo.fr wrote: En date de : Mer 5.3.14, Chris Angelico ros...@gmail.com a écrit : The very easiest solution for my users would be for me to distribute a .ZIP file of eighteen DLLs, which my app can fetch and deploy. But that would require

Re: GTK signals question.

2014-03-05 Thread Tadej Borovšak
Dne 05.03.2014 (sre) ob 18:38 +1100 je Chris Angelico napisal(a): On Wed, Mar 5, 2014 at 6:29 PM, Tristan Van Berkom tris...@upstairslabs.com wrote: Interesting, if I were you I would try to share the same adjustment between all of your views. I.e. I would keep the adjustment in the

Re: GTK signals question.

2014-03-05 Thread Chris Moller
I was actually writing that testcase when I found a correlation: I'm using gcc and my callbacks were nested functions. Pull the callbacks out and make them normal, top-level, functions, and it all works even without no blocking of any kind. So, if this is a bug at all, I suppose it could be

Re: GTK signals question.

2014-03-05 Thread Chris Angelico
On Thu, Mar 6, 2014 at 1:44 AM, Chris Moller mol...@mollerware.com wrote: I was actually writing that testcase when I found a correlation: I'm using gcc and my callbacks were nested functions. Pull the callbacks out and make them normal, top-level, functions, and it all works even without no

Re: GTK signals question.

2014-03-05 Thread Chris Vine
On Wed, 05 Mar 2014 09:44:48 -0500 Chris Moller mol...@mollerware.com wrote: I was actually writing that testcase when I found a correlation: I'm using gcc and my callbacks were nested functions. Pull the callbacks out and make them normal, top-level, functions, and it all works even

Re: GTK signals question.

2014-03-05 Thread Colomban Wendling
Le 05/03/2014 18:07, Chris Vine a écrit : On Wed, 05 Mar 2014 09:44:48 -0500 Chris Moller mol...@mollerware.com wrote: I was actually writing that testcase when I found a correlation: I'm using gcc and my callbacks were nested functions. Pull the callbacks out and make them normal,

Re: GTK signals question.

2014-03-05 Thread Chris Moller
On 03/05/14 12:07, Chris Vine wrote: On Wed, 05 Mar 2014 09:44:48 -0500 Chris Moller mol...@mollerware.com wrote: I was actually writing that testcase when I found a correlation: I'm using gcc and my callbacks were nested functions. Pull the callbacks out and make them normal, top-level,

Re: GTK signals question.

2014-03-05 Thread Colomban Wendling
Le 05/03/2014 19:43, Chris Moller a écrit : [...] gcc supports nested functions as an extension to standard C. I tend to use them a lot because they operate within the stack frame of the enclosing function, thereby minimising the amount of information you have to pass. This is especially

Re: GTK signals question.

2014-03-05 Thread Chris Angelico
On Thu, Mar 6, 2014 at 5:43 AM, Chris Moller mol...@mollerware.com wrote: gcc supports nested functions as an extension to standard C. I tend to use them a lot because they operate within the stack frame of the enclosing function, thereby minimising the amount of information you have to pass.

Re: GTK signals question.

2014-03-05 Thread Chris Vine
On Wed, 05 Mar 2014 13:43:29 -0500 Chris Moller mol...@mollerware.com wrote: On 03/05/14 12:07, Chris Vine wrote: On Wed, 05 Mar 2014 09:44:48 -0500 Chris Moller mol...@mollerware.com wrote: I was actually writing that testcase when I found a correlation: I'm using gcc and my callbacks

Re: GTK signals question.

2014-03-05 Thread Chris Moller
On 03/05/14 13:52, Chris Angelico wrote: On Thu, Mar 6, 2014 at 5:43 AM, Chris Moller mol...@mollerware.com wrote: gcc supports nested functions as an extension to standard C. I tend to use them a lot because they operate within the stack frame of the enclosing function, thereby minimising the

Re: GTK signals question.

2014-03-05 Thread Chris Angelico
On Thu, Mar 6, 2014 at 6:27 AM, Chris Moller mol...@mollerware.com wrote: On 03/05/14 13:52, Chris Angelico wrote: Is there a reason you're trying to write high-level code in C? Habit, mostly. I've been coding in C since the early 80s and I can do it in my sleep. Python's okay, but I tend