mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-10 04:37:55 +08:00
chore(lvglgdb): show classp name if lv_class name is not set (#9376)
This commit is contained in:
@@ -10,7 +10,9 @@ class LVObject(Value):
|
||||
@property
|
||||
def class_name(self):
|
||||
name = self.class_p.name
|
||||
return name.string() if name else "unknown"
|
||||
if name:
|
||||
return name.string()
|
||||
return self.class_p.format_string(symbols=True, address=True, styling=True)
|
||||
|
||||
@property
|
||||
def x1(self):
|
||||
|
||||
Reference in New Issue
Block a user