EZ
Up Prev Next Contents


2.9.1 Setting and Extracting Client Data

The EZ_Widget data structure provides two special fields for applications to hook in application data to a widget. One is of type int and the other is of type void *. To set these fields, use

void EZ_SetWidgetIntData(EZ_Widget *widget, int value)

void EZ_SetWidgetPtrData(EZ_Widget *widget, void *pointer)

To extract the data stored in these fields, use

int EZ_GetWidgetIntData(EZ_Widget *widget)

void *EZ_GetWidgetPtrData(EZ_Widget *widget)


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>