diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:56:41 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:59:33 -0800 |
commit | d577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch) | |
tree | 590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/src/iup_childtree.h |
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/src/iup_childtree.h')
-rwxr-xr-x | iup/src/iup_childtree.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/iup/src/iup_childtree.h b/iup/src/iup_childtree.h new file mode 100755 index 0000000..4376c0b --- /dev/null +++ b/iup/src/iup_childtree.h @@ -0,0 +1,54 @@ +/** \file + * \brief Control Hierarchy Tree management. + * + * See Copyright Notice in "iup.h" + */ + +#ifndef __IUP_CHILDTREE_H +#define __IUP_CHILDTREE_H + +#ifdef __cplusplus +extern "C" { +#endif + +/** \defgroup childtree Child Tree Utilities + * \par + * Some native containers have an internal native child that + * will be the actual container of the children. This native container is + * returned by \ref iupClassObjectGetInnerNativeContainerHandle. + * \par + * 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". + * \par + * See \ref iup_childtree.h + * \ingroup object */ + +/** Returns the native parent. It simply excludes containers that are from IUP_TYPEVOID classes. + * \ingroup childtree */ +Ihandle* iupChildTreeGetNativeParent(Ihandle* ih); + +/** Returns the native parent handle. Uses \ref iupChildTreeGetNativeParent and \ref iupClassObjectGetInnerNativeContainerHandle. + * \ingroup childtree */ +InativeHandle* iupChildTreeGetNativeParentHandle(Ihandle* ih); + +/** Adds the child directly to the parent tree. + * \ingroup childtree */ +void iupChildTreeAppend(Ihandle* parent, Ihandle* child); + + +/* Other functions declared in <iup.h> and implemented here. +IupGetDialog +IupDetach +IupAppend +IupGetChild +IupGetNextChild +IupGetBrother +IupGetParent +*/ + + +#ifdef __cplusplus +} +#endif + +#endif |