EZ
Up Prev Next Contents


3.7.5 Interaction Routines

EZ_Widget *EZ_GetSelectedMenuItem(EZ_Widget *menuOrMBtn)

This function retrieve the last selected item from a menu. If no selection has been made, it returns NULL.

int EZ_GetWidgetReturnedData(EZ_Widget *widget)

This function returns the returned data (of type int) of the selected menu item. If a valid selection has been made, its return data is propagated to the most recent posted submenu (the parent of the selected item). If the menu is originated from a menu button, this data is also propagated to the menu button. If no selection has been made, this function returns -1.


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