Class Object Functions
[Ihandle Class]

Collaboration diagram for Class Object Functions:


int iupClassObjectCreate (Ihandle *ih, void **params)
int iupClassObjectMap (Ihandle *ih)
void iupClassObjectUnMap (Ihandle *ih)
void iupClassObjectDestroy (Ihandle *ih)
void * iupClassObjectGetInnerNativeContainerHandle (Ihandle *ih, Ihandle *child)
void iupClassObjectChildAdded (Ihandle *ih, Ihandle *child)
void iupClassObjectChildRemoved (Ihandle *ih, Ihandle *child, int pos)
void iupClassObjectLayoutUpdate (Ihandle *ih)
void iupClassObjectComputeNaturalSize (Ihandle *ih, int *w, int *h, int *children_expand)
void iupClassObjectSetChildrenCurrentSize (Ihandle *ih, int shrink)
void iupClassObjectSetChildrenPosition (Ihandle *ih, int x, int y)
int iupClassObjectDlgPopup (Ihandle *ih, int x, int y)

Detailed Description

Stubs for the class methods. They implement inheritance and check if method is NULL.
See iup_class.h

Function Documentation

int iupClassObjectCreate ( Ihandle *  ih,
void **  params 

Calls Iclass::Create method.

int iupClassObjectMap ( Ihandle *  ih  ) 

Calls Iclass::Map method.

void iupClassObjectUnMap ( Ihandle *  ih  ) 

Calls Iclass::UnMap method.

void iupClassObjectDestroy ( Ihandle *  ih  ) 

Calls Iclass::Destroy method.

void* iupClassObjectGetInnerNativeContainerHandle ( Ihandle *  ih,
Ihandle *  child 

Calls Iclass::GetInnerNativeContainerHandle method. Returns ih->handle if there is no inner parent. The parent class is ignored. If necessary the child class must handle the parent class internally.

void iupClassObjectChildAdded ( Ihandle *  ih,
Ihandle *  child 

Calls Iclass::ChildAdded method.

void iupClassObjectChildRemoved ( Ihandle *  ih,
Ihandle *  child,
int  pos 

Calls Iclass::ChildRemoved method.

void iupClassObjectLayoutUpdate ( Ihandle *  ih  ) 

Calls Iclass::LayoutUpdate method.

void iupClassObjectComputeNaturalSize ( Ihandle *  ih,
int *  w,
int *  h,
int *  children_expand 
void iupClassObjectSetChildrenCurrentSize ( Ihandle *  ih,
int  shrink 
void iupClassObjectSetChildrenPosition ( Ihandle *  ih,
int  x,
int  y 
int iupClassObjectDlgPopup ( Ihandle *  ih,
int  x,
int  y 

Calls Iclass::DlgPopup method.