DylScale module

class DylScale.GradientFrame(master, from_color, to_color, width=None, height=None, orient='horizontal', steps=None, **kwargs)[source]

Bases: tkinter.Canvas

A canvas with a gradient drawn on it.

class DylScale.Rating(posDir: str, negDir: str, n: int, outputFile: str, offset: str, label: tkinter.Label)[source]

Bases: object

A class for displaying an image and recording the ratins and timings of the reader. Label parameter is the label where the image is going to be drawn. User must assign the instantiated rating class a canvas for drawing a bar where the reader clicked.

drawBar(event: tkinter.Event)[source]
next(event: tkinter.Event = None)[source]
DylScale.hex2rgb(str_rgb)[source]

A function that takes hex values and converts them to rgb.