Function libui_ng_sys::uiTableOnSelectionChanged
source · pub unsafe extern "C" fn uiTableOnSelectionChanged(
t: *mut uiTable,
f: Option<unsafe extern "C" fn(t: *mut uiTable, data: *mut c_void)>,
data: *mut c_void
)Expand description
Registers a callback for when the table selection changed.
@param t uiTable instance. @param f Callback function.\n @p sender Back reference to the instance that triggered the callback.\n @p senderData User data registered with the sender instance. @param data User data to be passed to the callback.
@note The callback is not triggered when calling uiTableSetSelection() or when needing to clear the selection on uiTableSetSelectionMode(). @note Only one callback can be registered at a time. @memberof uiTable