Tk::Knob?

2016-07-20 Thread Luis Mochan
I made a module that implements a knob that may be rotated continuously and indefinitily clockwise or anticlockwise, as an addition to the controls (such as Tk::Scale) I found in the Tk package. I'm considering uploading it to CPAN but I don't know how to name it. I think it may be called Tk::Knob,

Re: Tk::Knob?

2016-07-20 Thread Luis Mochan
Dear Lars, Thanks for the suggestion. However, I just found that there is already a Tk::Dial widget in cpan (http://search.cpan.org/dist/Tk-Contrib/Dial.pm), but it rotates at most 3/4 of a circle. Mine is different, in that it can rotate an arbitrary number of turns. So I guess I can't use Dial.

Re: Tk::Knob?

2016-07-20 Thread Luis Mochan
> You are "allowed" to do this, sure, just like (as I believe you know) I Hi David, Thanks! Best regards, Luis -- o W. Luis Mochán, | tel:(52)(777)329-1734 /<(*) Instituto de Ciencias Físicas, UNAM | fax:

Test window creation

2016-07-26 Thread Luis Mochan
I wonder how do you 'Test' a module that is related to a graphical interface. I got failure reports from cpan testers with messages like: # got: 'couldn't connect to display ":0" at \ /home/cpan/pit/thr/conf/perl-5.24.0/.cpanplus/5.24.0/build/Ss0ihFoAc_/Tk-804.033/blib/lib/Tk/MainWindow.