Inheriting Parent Attributes

There are a set of appearance attributes that all widgets have. These attributes can be set for each widget independently or inherited from their parent widget. These attributes include:

A widget can continue to defer its attribute all the way up the widget tree. This means if a widget inherits an attribute from its parent which also inherits the same attribute from its parent, the widget will get the attribute from its parent's parent and so on. When you change an attribute of a top level widget, all widgets that inherit an attribute will also change. This allows you to set an appearance scheme that persists though a whole chain of widgets, or possibly the whole application.

Alphabetic index Hierarchy of classes

This page was generated with the help of DOC++.