summaryrefslogtreecommitdiff
path: root/lib/luavgl/src/lvgl.lua
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-02-06 08:35:14 +1100
committerjacqueline <me@jacqueline.id.au>2024-02-06 08:36:11 +1100
commit5f6af82e8a535864aabdf92d1061cbb04999ecce (patch)
treefeb6dbc404d7fa5880a2d1bab3df2875a13cd6f0 /lib/luavgl/src/lvgl.lua
parentf2df12836f10719f65e9eefa1e17aa600edf49c2 (diff)
downloadtangara-fw-5f6af82e8a535864aabdf92d1061cbb04999ecce.tar.gz
luavgl: add a method to focus an object
Diffstat (limited to 'lib/luavgl/src/lvgl.lua')
-rw-r--r--lib/luavgl/src/lvgl.lua5
1 files changed, 5 insertions, 0 deletions
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