Compile Your Own Components
Overview
Although
However, GTK provides many types of components that meet your needs, but sometimes you still need to create your own component types. Because GTK
It fully applies component inheritance and has components that are close to your needs, usually only a few linesCodeYou can write a new component type. However, before getting started, I was sure no one had written the same component. This works.
To avoid repetitive work and make GTK
Keep the smallest number of components and help keep code and different applicationsProgramInterface consistency. On the other hand, once you complete your own components, you will be informed that others will benefit from this. The best place to publish
YesGTK email list
.
You can obtain the complete source code of the sample component from the tutorial, or from:
Http://www.gtk.org /~ Otaylor/GTK/tutorial/
<Previous |
Home |
Next >>> |
RC file example |
|
Analysis of a component |