Re: [pygtk] SpinButton and a value of None

2005-11-28 Thread N. Volbers
Graham Ashton schrieb: On Thursday 24 November, N. Volbers wrote: My second problem arises due to the fact that it should be possible to specify no value at all. [snip] Am I missing something obvious? I would appreciate any suggestions on this. If you want a single widget that al

Re: [pygtk] SpinButton and a value of None

2005-11-28 Thread Graham Ashton
On Thursday 24 November, N. Volbers wrote: > My second problem arises due to the fact that it should be possible to > specify no value at all. > > [snip] > > Am I missing something obvious? I would appreciate any suggestions > on this. If you want a single widget that allows you to specify "a

[pygtk] SpinButton and a value of None

2005-11-24 Thread N. Volbers
Hello everyone, I replaced some gtk.Entry widgets by the more appropriate gtk.SpinButton widgets. 'More appropriate' means that the user needs to enter an integer number > 0 and a spin button seemed predetermined for this. My first problem, which I finally solved, was that I have to set both