Relative Content

Tag Archive for pythonbeewaretoga

How to get the dimensions of a toga.Canvas() in Python?

In a Python BeeWare project, I want to use the toga.Canvas to draw some horizontal rectangles but I don’t know from where to get the Canvas width. I can’t find any documentation of the toga.Canvas() dimensions on the internet…