IUP: Ihandle_ Struct Reference

IUP - Portable User Interface

Ihandle_ Struct Reference
[Object Handle]


Detailed Description

Structure used by all the elements.


Data Fields

char sig [4]
Itable * attrib
Iclassiclass
int serial
void * handle
int expand
int x
int y
int userwidth
int userheight
int naturalwidth
int naturalheight
int currentwidth
int currentheight
Ihandle * parent
Ihandle * firstchild
Ihandle * brother

Field Documentation

char Ihandle_::sig[4]
 

IUP Signature, initialized with "IUPH", cleared on destroy

Itable* Ihandle_::attrib
 

attribute table

Iclass* Ihandle_::iclass
 

class of the Ihandle

int Ihandle_::serial
 

serial number used for controls that need a numeric id, initialized with -1

void* Ihandle_::handle
 

native handle. initialized when mapped

int Ihandle_::expand
 

expand configuration

int Ihandle_::y
 

upper-left corner relative to the native parent. always 0 for the dialog.

int Ihandle_::userheight
 

user defined size for the control using SIZE or RASTERSIZE

int Ihandle_::naturalheight
 

the calculated size based in the control contents and the user size

int Ihandle_::currentheight
 

actual size of the control in pixels (window size, including decorations and margins).

Ihandle* Ihandle_::parent
 

previous control in the hierarchy tree

Ihandle* Ihandle_::firstchild
 

first child control in the hierarchy tree

Ihandle* Ihandle_::brother
 

next control inside parent