From 5f6af82e8a535864aabdf92d1061cbb04999ecce Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 6 Feb 2024 08:35:14 +1100 Subject: luavgl: add a method to focus an object --- lib/luavgl/src/lvgl.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/luavgl/src/lvgl.lua') diff --git a/lib/luavgl/src/lvgl.lua b/lib/luavgl/src/lvgl.lua index 32061c1f..e06f673d 100644 --- a/lib/luavgl/src/lvgl.lua +++ b/lib/luavgl/src/lvgl.lua @@ -814,6 +814,11 @@ end function obj:invalidate() end +--- Sets this object as the current selection of the object's group. +---@return nil +function obj:focus() +end + --- --- Object event callback. `para` is not used for now. --- @alias EventCallback fun(obj:Object, code: ObjEventCode): nil -- cgit v1.2.3