mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-21 06:53:01 +08:00
Update lv_btnm_set_one_toggle docs (#1079)
This commit is contained in:
parent
0f1e260155
commit
a3e88e1ecd
@ -401,6 +401,9 @@ void lv_btnm_set_btn_width(const lv_obj_t * btnm, uint16_t btn_id, uint8_t width
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Make the button matrix like a selector widget (only one button may be toggled at a time).
|
* Make the button matrix like a selector widget (only one button may be toggled at a time).
|
||||||
|
*
|
||||||
|
* Toggling must be enabled on the buttons you want to be selected with `lv_btnm_set_ctrl` or `lv_btnm_set_btn_ctrl_all`.
|
||||||
|
*
|
||||||
* @param btnm Button matrix object
|
* @param btnm Button matrix object
|
||||||
* @param one_toggle Whether "one toggle" mode is enabled
|
* @param one_toggle Whether "one toggle" mode is enabled
|
||||||
*/
|
*/
|
||||||
|
@ -170,6 +170,9 @@ void lv_btnm_set_btn_width(const lv_obj_t * btnm, uint16_t btn_id, uint8_t width
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Make the button matrix like a selector widget (only one button may be toggled at a time).
|
* Make the button matrix like a selector widget (only one button may be toggled at a time).
|
||||||
|
*
|
||||||
|
* Toggling must be enabled on the buttons you want to be selected with `lv_btnm_set_ctrl` or `lv_btnm_set_btn_ctrl_all`.
|
||||||
|
*
|
||||||
* @param btnm Button matrix object
|
* @param btnm Button matrix object
|
||||||
* @param one_toggle Whether "one toggle" mode is enabled
|
* @param one_toggle Whether "one toggle" mode is enabled
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user