From the course: Python GUI Development with Tkinter
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Entering and displaying multiple lines with the Text widget
From the course: Python GUI Development with Tkinter
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Entering and displaying multiple lines with the Text widget11m 31s
-
(Locked)
Adding tags, marks, images, and widgets to the Text widget9m 57s
-
(Locked)
Building a hierarchical treeview7m 19s
-
(Locked)
Adding columns and selecting items in the Treeview7m 12s
-
(Locked)
Building cascading menus11m 5s
-
(Locked)
Drawing a basic line on the Canvas5m 21s
-
(Locked)
Drawing complex shapes on the Canvas9m 58s
-
(Locked)
Attaching a scroll bar to widgets6m 21s
-
(Locked)
Configuring widget styles9m 49s
-
(Locked)
Prompting users with the Messagebox and dialogs6m 11s
-
(Locked)
-
-
-
-