GtkBuilder + GtkUIManager and connect_proxy signal.

2010-06-18 Thread Alessio Giovanni Baroni
Hello, I am writing an application using an XML file for defining the interface, with GtkBuilder + GtkUIManager. The most important parts of XML file are: object id='ui_manager' class='GtkUIManager' child object id='action_group' class='GtkActionGroup'

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.

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-presses leave the

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-press gives B