User:Chani/WayOfThePlasma/Categories/CustomContainments: Difference between revisions

From KDE TechBase
(New page: ==What are containments anyway?== ===Conclusion=== Containments are applets, that contain other applets. The desktop panel, for example, is a containment. It allows the developer to group...)
 
(typo)
Line 2: Line 2:
===Conclusion===
===Conclusion===


Containments are applets, that contain other applets. The desktop panel, for example, is a containment. It allows the developer to group sets of applets together and provide a common look & feel for the contained applets. An applets look is of course mainly determined through themes, but with containments a developer can impose certain size constraints on applets, he can pin down how items are laid out inside the containment, he configures the background of a containment and defines a context menu for it.
Containments are applets, that contain other applets. The desktop panel, for example, is a containment. It allows the developer to group sets of applets together and provide a common look & feel for the contained applets. An applet look is of course mainly determined through themes, but with containments a developer can impose certain size constraints on applets, he can pin down how items are laid out inside the containment, he configures the background of a containment and defines a context menu for it.
Notable containments so far (as of 03/2008) are Panel and DefaultDesktop.
Notable containments so far (as of 03/2008) are Panel and DefaultDesktop.



Revision as of 08:12, 15 March 2008

What are containments anyway?

Conclusion

Containments are applets, that contain other applets. The desktop panel, for example, is a containment. It allows the developer to group sets of applets together and provide a common look & feel for the contained applets. An applet look is of course mainly determined through themes, but with containments a developer can impose certain size constraints on applets, he can pin down how items are laid out inside the containment, he configures the background of a containment and defines a context menu for it. Notable containments so far (as of 03/2008) are Panel and DefaultDesktop.

Original Text

"... everything that holds a group of desktop widgets is a Containment." Also the rest of Aaron's blog post (see Sources below)

Sources

The Power of containments (on aseigo's blog)