Hello, in this Python video, we are going to look at the scroll bar widget, which is essentially going to be a list of items. And we're going to have a scroll bar with it to be able to slide through the items. So proof in portfolio is going to create a scroll ball, roll, ball, roll, ball, window and roll ball. I'm going to specify what size is going to be on the right hand side that's very common. With scroll bar. You can play somewhere else but upper right hand side.
And this is going to equal y so we know it's moving up and down. And now we're going to create a list and this list will just be for demonstration purposes. Go for it using the scroll bar. No, drawn to the wise man you Which is basically what makes it scroll and scroll bar dot set. So whenever the scroll bar is used, this will set it does not have a scroll bar and scroll bar there have been no mistake of my part now we're going to do is fill up our list into four lines in a range of one to 5000 items in there. You could have whatever four items you want, it could be from a database, it doesn't really matter.
Keep it simple, and then add it to the end. It's going to start with row and then it's gonna be line number one, because this range is between zero and 999. And I want to start here at one and again, that's a personal preference for this video, not an actual recording. Do my lip pack roll that's it I'm missing yes now the end to a fight that would have been caught up here in the compensation stage. Anyway I got it all figured out scroll bar and call my lawyer just want to scroll in. So in case we scroll ourselves so obviously we could scroll it and I guess updated and if we scroll it ourselves okay what it turns out to be Okay, so so I think it's a problem or messing up property.
And the scroll isn't working properly, but it's it seems. Okay. So that was read while I was working. But that's it for the scroll wall. Thanks for watching. If you want to know more about the functions and the different parameters that you can manipulate your scroll bar with, there'll be a link with the video so you can advance even further.
If you have any questions as usual, feel free to reach out and look at the source code provided and I look forward to seeing you in the next video.