GUI control organization, gui Control

Source: Internet
Author: User

GUI control organization, gui Control
GUI controls


GUI is a graphical user interface that primarily manages user input and input. When I first graduated, I thought that there were just a few controls, and I could just learn them. Later, I found that there were too many controls when I had more things. I want to summarize the controls myself.


GUI control functions


I think there are only three gui controls available. The first function is used to display the content. The typical function is the image. Of course, all gui controls have the display function. For example, a button image or text is used to send a message to the user. The second function is an event, typically a button. We often bind a control to a callback function or a callback event, this event is triggered when you operate the control. Then, call the corresponding function. The third function is the container function, which is rich in content. A typical control is a list type. It mainly organizes content reasonably and presents the content to users reasonably. In addition to these three functions, I cannot summarize other functions for the moment. These three functions can be combined in different ways. Achieve the goal of achieving a thousand changes. Of course, many controls have different functions. However, the focus is different. When we learn controls, I think that grasping these three main functions will get twice the result with half the effort.


Common controls


Controls are used by many people. To sum up, this has different meanings for different people. The widgets that I pay more attention to are all complex widgets.


The first control combo box


The combo box is composed of a text box and a list box. Check boxes are often displayed in the list box. To learn the combo box, you must have the knowledge of the textbox list box and check box.


The second control, tabcontrol


At the moment, I still couldn't find his more accurate meaning. This control is a complicated one. We can leave his content alone, just talk about his structure, you will find his structure. tabcontrol has two parts: select entry and content entry. The select entry is generally a button, and the content entry is generally a text. The selection of entries is often a container that can be added or deleted. Therefore, to learn this control, you need buttons. Containers I think have the knowledge of text boxes like a list box.


Third control Tree View


A tree view is often a control of the program directory nature. It occupies almost the content of this top-level container in the program. It is mainly an operation for adding and deleting events and entries. Therefore, you must learn the knowledge of these events and entries in the Learning Tree View. Because the tree view involves a lot of content, I cannot sum up any widgets to help it.


Summary


Different controls have different functions, and almost all user interface libraries implement basic controls. There is a function that refers to the expansion of its own controls, in fact, nothing more than a combination of functions. When learning the control library, we almost all learn basic controls and then expand our own controls. There are too many libraries, so I think that after thoroughly studying all the controls of a library, I can continue to learn how to use them. The control content of other libraries has a similar effect.

Zookeeper

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.