mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
lv_mbox: add comment about the action callback parameters
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ void lv_mbox_set_text(lv_obj_t * mbox, const char * txt)
|
||||
|
||||
/**
|
||||
* Stop the action to call when button is released
|
||||
* @param mbox pointer to a message box object
|
||||
* @param pointer to an 'lv_btnm_action_t' action. In the action you need to use `lv_mbox_get_from_btn()` to get the `mbox`.
|
||||
* @param pointer to an 'lv_btnm_action_t' action
|
||||
*/
|
||||
void lv_mbox_set_action(lv_obj_t * mbox, lv_btnm_action_t action)
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ void lv_mbox_set_text(lv_obj_t * mbox, const char * txt);
|
||||
/**
|
||||
* Stop the action to call when button is released
|
||||
* @param mbox pointer to a message box object
|
||||
* @param pointer to an 'lv_btnm_action_t' action
|
||||
* @param pointer to an 'lv_btnm_action_t' action. In the action you need to use `lv_mbox_get_from_btn()` to get the `mbox`.
|
||||
*/
|
||||
void lv_mbox_set_action(lv_obj_t * mbox, lv_btnm_action_t action);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user