From the course: Python GUI Development with Tkinter

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Entering and displaying multiple lines with the Text widget

Entering and displaying multiple lines with the Text widget

From the course: Python GUI Development with Tkinter

Start my 1-month free trial

Entering and displaying multiple lines with the Text widget

- [Instructor] The text widget is similar to the entry widget, except that instead of just entering a single line of input, it creates a multi-line area for text entry. This makes it useful for things like surveys and comment boxes that require free-form text input from the user, or for things like a logging window that needs to output many lines of information for the user and will extend the long enough to require a scroll bar to navigate. The text widget is a very powerful and complex widget, which can be used for everything from creating that simple logging window into an interactive code editor, such as IDLE. In this video and the next, we'll cover some of the most common uses and features of the text widget. However, we won't be able to cover everything it's capable of doing. If you're interested in learning about all of the of the rich set of features available for the text widget, then I highly recommend reading through the Tk documentation page for it. The first thing I'm…

Contents