I'd like to provide a way to assign a rating over some
rating scale. I was planning on using wxSpinCtrl,
but it seems like it must start with a numeric value
already shown. This, to me, seems like biasing
the rater toward that value; it would be better to
allow it to start blank.
Not with the native widget on Windows, but you can easily make your own with a wx.TextCtrl and a wx.SpinButton and make it behave however you want.
···
On 11/17/09 6:04 PM, C M wrote:
I'd like to provide a way to assign a rating over some
rating scale. I was planning on using wxSpinCtrl,
but it seems like it must start with a numeric value
already shown. This, to me, seems like biasing
the rater toward that value; it would be better to
allow it to start blank.
Thanks, that's a good idea. But my version of the demo says, "wx.SpinButton is
not implemented for all platforms (Win32 and GTK only currently". Is that still
the case?
Che
···
On Thu, Nov 19, 2009 at 9:28 PM, Robin Dunn <robin@alldunn.com> wrote:
On 11/17/09 6:04 PM, C M wrote:
I'd like to provide a way to assign a rating over some
rating scale. I was planning on using wxSpinCtrl,
but it seems like it must start with a numeric value
already shown. This, to me, seems like biasing
the rater toward that value; it would be better to
allow it to start blank.
Is there a way to do this?
Not with the native widget on Windows, but you can easily make your own
with a wx.TextCtrl and a wx.SpinButton and make it behave however you want.
I'd like to provide a way to assign a rating over some
rating scale. I was planning on using wxSpinCtrl,
but it seems like it must start with a numeric value
already shown. This, to me, seems like biasing
the rater toward that value; it would be better to
allow it to start blank.
Is there a way to do this?
Not with the native widget on Windows, but you can easily make your own
with a wx.TextCtrl and a wx.SpinButton and make it behave however you want.
Thanks, that's a good idea. But my version of the demo says, "wx.SpinButton is
not implemented for all platforms (Win32 and GTK only currently". Is that still
the case?
Take a look at how FloatSpin (wx.lib.agw.FloatSpin) has been
implemented. As far as I know it works on all platforms, albeit I
don't know if there are Mac users actually using it.
On Thu, Nov 19, 2009 at 9:28 PM, Robin Dunn<robin@alldunn.com> wrote:
On 11/17/09 6:04 PM, C M wrote:
I'd like to provide a way to assign a rating over some
rating scale. I was planning on using wxSpinCtrl,
but it seems like it must start with a numeric value
already shown. This, to me, seems like biasing
the rater toward that value; it would be better to
allow it to start blank.
Is there a way to do this?
Not with the native widget on Windows, but you can easily make your own
with a wx.TextCtrl and a wx.SpinButton and make it behave however you want.
Thanks, that's a good idea. But my version of the demo says, "wx.SpinButton is
not implemented for all platforms (Win32 and GTK only currently". Is that still
the case?