Re: custom spin button format

2010-06-18 Thread Allin Cottrell
On Fri, 18 Jun 2010, Tadej Borovšak wrote: > > Below is a minimal test program. I'd expect that, since the spin > > button's range is set as 1 to 4, I ought to be able to display > > "B", "C"  and "D" in turn by pressing the button's up-arrow. But > > what actually happens is that the first up-pr

Re: custom spin button format

2010-06-18 Thread Tadej Borovšak
Hello. > Below is a minimal test program. I'd expect that, since the spin > button's range is set as 1 to 4, I ought to be able to display > "B", "C"  and "D" in turn by pressing the button's up-arrow. But > what actually happens is that the first up-press gives "B" and > then subsequent up-presse

custom spin button format

2010-06-18 Thread Allin Cottrell
I'm trying to create a GtkSpinButton with a customized representation of the underlying numerical value (by attaching to the "output" signal as described in the GTK manual) but have hit a problem: I can't seem to get the spin button to go to the top of its range. Below is a minimal test program.