How can I create buttons and labels in a canvas widget and make the whole set of widgets in the canvas scrollable?
I came across a _create()
option in my IDE but I'm not sure how to use it. I tried entering Button for itemType
but it didn't work.
I tried create_window()
but I'm not sure how to use it either.
My question is not how to use a loop and add the buttons, but how can I create widgets and place them in a canvas, but scrollable? Also is there a _create()
? If yes, is there any way to create widgets using it?