Child Tree Utilities
[Ihandle Object]

Collaboration diagram for Child Tree Utilities:

Functions

Ihandle * iupChildTreeGetNativeParent (Ihandle *ih)
InativeHandleiupChildTreeGetNativeParentHandle (Ihandle *ih)
void iupChildTreeAppend (Ihandle *parent, Ihandle *child)

Detailed Description

Some native containers have an internal native child that will be the actual container of the children. This native container is returned by iupClassObjectGetInnerNativeContainerHandle.
Some native elements need an extra parent, the ih->handle points to the main element itself, NOT to the extra parent. This extra parent is stored as "_IUP_EXTRAPARENT".
See iup_childtree.h

Function Documentation

Ihandle* iupChildTreeGetNativeParent ( Ihandle *  ih  ) 

Returns the native parent. It simply excludes containers that are from IUP_TYPEVOID classes.

InativeHandle* iupChildTreeGetNativeParentHandle ( Ihandle *  ih  ) 

Returns the native parent handle. Uses iupChildTreeGetNativeParent and iupClassObjectGetInnerNativeContainerHandle.

void iupChildTreeAppend ( Ihandle *  parent,
Ihandle *  child 
)

Adds the child directly to the parent tree.


Generated on Thu Oct 1 14:02:32 2009 for IUP by  doxygen 1.6.1