All Pages All Books|
|
||||
|
What can wxPython do?
|
17
|
|||
|
|
||||
|
interest you, feel free to jump to the next chapter and continue coding—the rest of the introduction will still be here.
1.5 What can wxPython do?
Nearly all of your interface needs can be filled by wxPython. In this section, we’ll show you what some of the wxPython toolkit looks like, using pictures from elements of the wxPython demo application. Figure 1.8 is a composite image showing all the basic widgets you’d expect: buttons, checkboxes, a combo box, menus, list box, a spinner control, text controls and radio buttons.
Figure 1.9 shows less common, but very useful widgets, including a slider control, an editable list box, a time selector, a toolbar, a notebook control, a tree list control, and an analog clock.
The grid control is one of wxPython’s most flexible widgets, allowing custom rendering and editing of cells. Figure 1.10 shows an example of many of the features of the grid control.
And that’s not all—you also get a quite fully featured HTML-rendering widget that you can use for static styled text, as the base of a simple web browser, as a help system, or anything else you might want to display HTML for. An example is shown in figure 1.11.
|
||||
|
|
||||
![]() |
Figure 1.8 A sampling of basic user interface controls, including menus, list boxes, and text controls.
|
|||
|
|
||||
All Pages All Books