Widget items are fully functional widgets. They are very different from other items. For a label item or a fig item, interactions between the user and the item are handled by the middle man, its host widget. For a widget item, however, user interactions are directly handled by the relevent widget. For this reason, callbacks registered to a widget item will probably never get called.
Widget item support the following resources.
configOption | resourceName | valueType |
EZ_X | x | int |
EZ_Y | y | int |
EZ_LOCATION | location | int_x int_y |
EZ_WIDTH | width | int |
EZ_HEIGHT | height | int |
EZ_SIZE | size | int_w int_h |
EZ_GEOMETRY | geometry | int_x int_y int_w int_h |
configOption | resourceName | valueType |
EZ_PADX | padx | enum |
EZ_PADY | pady | int |
EZ_BORDER_TYPE | borderType | enum |
EZ_BORDER_WIDTH | borderWidth | int |
EZ_BACKGROUND | background | string |
void EZ_SetWidgetItemWidget(EZ_Item *item, EZ_Widget *widget);
EZ_Widget *EZ_GetWidgetItemWidget(EZ_Item *item);