One, the Wxpython control understands
There are a number of controls in Wxpython that can be divided into the following groups of controls
1, base class control group
Such controls cannot be called directly by the user, they are the base class for other derived controls, providing them with basic functionality
2, top-level controls, which are independent of each other.
3, Control container
Control container contains other controls
4, dynamic controls
These controls can be edited and used by the user
5, static controls
Used to display user-specified information that the user cannot directly edit
6, other controls
These controls form the status bar of the application window, toolbars, menu bars, and so on.
Two, the control relationship
There is a specific relationship between controls in Wxpython, which is developed by inheritance and is a key part of object-oriented programming. Controls can inherit functionality from other controls to form a specific hierarchy. The existing class in a control is called a base class, a parent class, and a control that inherits functionality is called a derived part, subclass, and so on. A simple description of the inheritance relationship for a button control.
Getting Started with Python Wxpython