A grid for Tkinter, Python. You can control every box in the grid (useful for simple graphics in Tkinter).
You can control each "pixel"'s colour with the Grid()
class.
You don't need to create a canvas on your Tkinter window, the Grid()
class does it for you.
my_grid = Grid(window, lines:int, columns:int, width:int, height:int, colour:str="white")
lines
: number of lines on your gridcolumns
: number of columns on your gridwidth
: your grid's widthheight
: your grid's heightcolour
: your grid's colour (default is white)
Grid.pixel(line:int, column:int, colour:str="black")