refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state
This commit is contained in:
@@ -4,7 +4,7 @@ def event_cb(e):
|
||||
|
||||
buttons = ["Apply", "Close", ""]
|
||||
|
||||
mbox1 = lv.msgbox(lv.scr_act(), "Hello", "This is a message box with two buttons.", buttons, True)
|
||||
mbox1 = lv.msgbox(lv.screen_active(), "Hello", "This is a message box with two buttons.", buttons, True)
|
||||
mbox1.add_event(event_cb, lv.EVENT.VALUE_CHANGED, None)
|
||||
mbox1.center()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user