problem with python version of scale widget

26 views
Skip to first unread message

james

unread,
Apr 28, 2013, 8:17:48 PM4/28/13
to dislin-users
System: linux 2.6.38.8 pclos 3.bfs LXDE 2012.06
python 2.6.6

I downloaded dislin-10.3.linux.i586.rpm
Install OK

The scale widget in /usr/local/dislin/python/widgets.py does not
display any digits as the
scale is moved back and forth. All other widgets worked and looked
correct.

I compiled the 'c' version of widgets (/usr/local/dislin/examples/ch/
widgets.ch), using
clink.

The 'c' version of the scale widget works correctly. (digits displayed
as the scale is
moved back and forth).

All the text in the python widget examples looked the same as the 'c'
widget.examples.

Why does the python scale widget not display digits?

James
Message has been deleted

Helmut Michels

unread,
Apr 29, 2013, 6:39:10 AM4/29/13
to dislin...@googlegroups.com

Hi James,

 
this is a bug introduced with Dislin version 10.2.5, where an option for suppressing
the slider value was added. I have detected that this option was not initialized in the
Dislin code, so that the slider value is displayed or suppressed by accident. Thank
you for the hint. A workaround is to use the option swgopt ("VALUE", "SLIDER")
before the scale widget. The bug will be fixed in the next Dislin upgrade.

Best regards,

Helmut
 
 
Reply all
Reply to author
Forward
0 new messages