Hello, in this python programming video, we are going to look at the text widget. The text widget is a multi line. Text, widget like motion long widget allows you to put text in there by strings, and allows you for more extra customization for colors. That sort of thing. I was gonna do a quick example just to demonstrate this object called text. Specify the window, text dot insert.
Hello. Now we're going to do text dot insert and by and tech Go pack. No we're gonna do is text tag, we're gonna add some tags, and then do yeah, just the position of our tags. And you'll see very soon how this all works in quotation marks here. So we are starting and ending the position of the tag for the number of characters on the line itself. And we'll add a number one, I can just copy this and I'm gonna call this one a one free and that when I actually configure the tag first of all you specifying which tag we are configuring.
Next, the properties of that tag that we are considering. So background, because you change the background to yellow for this, then we're going to do red and copy and paste again. And again, get the start here. And we'll look for the background for the foreground. So if we run this, if I put an iris, but as you can see in your text, but you can see if I were to put it in Word Stein it that way, which is really awesome. So you can do some really cool things.
Anyway, so that's it for this video on the text widget. If you have any questions about the different parameter the different function that you can provide for the text widget when configuring it, feel free to check out the link there attached with this video. If you have any queries about the code, there'll be a link to the source code also attached. And as usual, thanks for watching, and I look forward to seeing you in the next video.