update widget.h

This commit is contained in:
lixianjing 2022-07-29 17:41:21 +08:00
parent 97e9145d90
commit 688111961c

View File

@ -1793,6 +1793,19 @@ ret_t widget_dispatch_async(widget_t* widget, event_t* e);
*/
ret_t widget_dispatch_simple_event(widget_t* widget, uint32_t type);
/**
* @method widget_dispatch_model_event
* model事件()
* @param {widget_t*} widget
* @param {const char*} name
* @param {const char*} change_type
* @param {tk_object_t*} model
*
* @return {ret_t} RET_OK表示成功
*/
ret_t widget_dispatch_model_event(widget_t* widget, const char* name, const char* change_type,
tk_object_t* model);
/**
* @method widget_dispatch_recursive
*