How to implement the Preferences menu in Toga application?
I tried like this, but when I access the menu, the Preferences item is not enabled :
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…