Getting Started with Python Wxpython

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.