feat(textarea): static and non-static setter for accepted_chars

This commit is contained in:
Niklas Fiekas
2026-01-06 09:42:48 +01:00
committed by Liam Howatt
parent 20a1ce71a0
commit e20517aa70
4 changed files with 36 additions and 4 deletions
+2 -1
View File
@@ -143,7 +143,8 @@ Accepted characters
-------------------
You can set a list of accepted characters with
:cpp:expr:`lv_textarea_set_accepted_chars(textarea, list)` where ``list`` is a
:cpp:expr:`lv_textarea_set_accepted_chars(textarea, list)` or
:cpp:expr:`lv_textarea_set_accepted_chars_static(textarea, list)` where ``list`` is a
pointer to a NUL-terminated string, or NULL to accept all characters. Characters
entered not in this list will be ignored.