mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 09:37:42 +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
|
@property
|
||||||
def class_name(self):
|
def class_name(self):
|
||||||
name = self.class_p.name
|
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
|
@property
|
||||||
def x1(self):
|
def x1(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user