Home |
Windowing Interface Terminology Parent, Child, Sibling |
Parent, Child, SiblingThese terms refer to the relationships between the windows, controls, and other items that are all part the user interface. A control that is attached to a window is termed a Child of that window. Likewise, the window that contains the control is termed the Parent window. If there are several controls attached to the same window, those controls refer to each other as siblings. While this is the most common case, there is nothing internal to RTPEG-32 that prevents a window class such as PegWindow from being the child of a control, such as a PegButton. In fact, it is often very useful to construct custom objects using exactly this type of parent-child relationship. RTPEG-32 imposes no restrictions on the number of parent-child generations, nor will anything prevent an object that is a parent object in one case from becoming a child of another object in a different case. This allows reusing custom objects that are created in a variety of different ways. Windowing Interface Terminology
|