From the course: Rapid Application Development with Python
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configure the listbox - Python Tutorial
From the course: Rapid Application Development with Python
Configure the listbox
- [Instructor] We've constructed the skeleton of our application and we're now ready to start configuring the components on the main tab. Let's check the top static text widget. We're not going to refer to this in the code so we can leave its name as it is. But we do need to go into the widget tab, and change the label to system under audit. We'll also go to the layout tab and make sure that we have proportion set to zero. That stops WX Glade, applying automatic resizing. And I'll set the border to four. This makes sure the widgets aren't too close and that we have control over the additional spacing, okay, that's done. I'll set the proportion on the sizer to zero also. The next to do is the list box. Firstly, we'll change its name to lb system. We also want to click the size check box, and change the size to 200, 300. When you are doing this on your apps, you can precalculate the size of the widgets during the…
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
-
-
-
-
-
What is wxGlade?4m 42s
-
(Locked)
Design the application user interface4m 15s
-
(Locked)
Construct the application skeleton3m 21s
-
(Locked)
Configure the listbox2m 22s
-
(Locked)
The application skeleton5m 7s
-
(Locked)
Construct the audit tab sheet6m 19s
-
(Locked)
Challenge39s
-
(Locked)
Solution1m 16s
-
-
-