mirror of
https://github.com/lvgl/lvgl.git
synced 2026-09-27 18:34:13 +08:00
chore(gdb): regenerate textarea wrapper for placeholder_txt_size field
This commit is contained in:
@@ -6,7 +6,7 @@ Do not edit manually. Regenerate from the GDB script root with:
|
||||
"""
|
||||
|
||||
from lvglgdb.lvgl.core.lv_obj import LVObject
|
||||
from ._helpers import ptr_or_none, safe_string
|
||||
from ._helpers import ptr_or_none, safe_point, safe_string
|
||||
|
||||
|
||||
class LVTextarea(LVObject):
|
||||
@@ -26,6 +26,11 @@ class LVTextarea(LVObject):
|
||||
"""Place holder label. only visible if text is an empty string"""
|
||||
return safe_string(self._wv, "placeholder_txt")
|
||||
|
||||
@property
|
||||
def placeholder_txt_size(self):
|
||||
"""Size of the placeholder text"""
|
||||
return safe_point(self._wv, "placeholder_txt_size")
|
||||
|
||||
@property
|
||||
def pwd_tmp(self):
|
||||
"""Used to store the original text in password mode"""
|
||||
@@ -57,6 +62,7 @@ class LVTextarea(LVObject):
|
||||
d = s.get('widget_data') or {}
|
||||
d["label"] = self.label
|
||||
d["placeholder_txt"] = self.placeholder_txt
|
||||
d["placeholder_txt_size"] = self.placeholder_txt_size
|
||||
d["pwd_tmp"] = self.pwd_tmp
|
||||
d["pwd_bullet"] = self.pwd_bullet
|
||||
d["accepted_chars"] = self.accepted_chars
|
||||
|
||||
Reference in New Issue
Block a user