Component Attributes There are dozens of attributes that we have not covered yet. You already know how to use attributes in general. The only thing you have to do is discover the attribute's name , determine its purpose and its positional and named arguments, and you will be able to subclass or employ those attributes. To provide you with a starting point, several attributes that you might see in other sections of this book are listed by name. There are several component attributes. These include the following:
DescriptionAttribute and CategoryAttribute were demonstrated earlier in this chapter, and you can read Chapter 16, "Designing User Interfaces," for more examples of component building. |
![]() | |
Team-Fly ![]() |
Top |