Re: Help spinbuttons, Paulo Silva

2015-04-09 Thread Stefan Salewski
On Thu, 2015-04-09 at 23:17 +0930, Roger Matthews wrote: > Hi Paulo, or anybody else interested in helping, > I've read chapter 2 of Foundations of GTK+ Development concerning > signals and callback functions as suggested (see below) but am still > getting this error: Hello, I think you used wron

Re: Help spinbuttons, Paulo Silva

2015-04-09 Thread Roger Matthews
Hi Paulo, or anybody else interested in helping, I've read chapter 2 of Foundations of GTK+ Development concerning signals and callback functions as suggested (see below) but am still getting this error: (page90v2.exe:2289): Gtk-CRITICAL **: gtk_spin_button_get_value: assertion 'GTK_IS_SPIN_BU

Re: Help spinbuttons

2015-03-17 Thread Paulo Silva
Hello Roger. I think you misunderstand the concept of callback functions. In your example there is no appropriated callback function to deal with the changes of spin button. And another thing, the 3rd parameters to register a callback function must be a pointer. I suggest to take a look at chapte