python - Slider with max value greater than 2147483647 in wxPython Phoenix? -
basically, wx.slider
widget wxpython phoenix cannot go further 2147483647
.
indeed,
slider = wx.slider( parent = parent, value = 10, minvalue = 0, maxvalue = 2147483647 ) print slider.getmax()
outputs :
2147483647
whereas,
slider = wx.slider( parent = parent, value = 10, minvalue = 0, maxvalue = 2147483648 ) print slider.getmax()
outputs :
(program.py:5403): gtk-critical **: ia__gtk_range_set_range: assertion 'min < max' failed
0
i need use bigger values widget. workaround?
have considered dividing values appropriate divisor.
edit:
there times when have pragmatic. cannot possibly display or use slider length of 2 billion. whether automatically generated or not, simpler make slider utilise values between 0% , 100%, can manipulate tooltip
display value if essential accuracy of given position when using such massive number in opinion, inaccurate meaningless.
Comments
Post a Comment