grandMA3 User Manual Publication
GetTopOverlay()
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » GetTopOverlay()
|
Version 2.0
|
Description
The GetTopOverlay Lua function returns a handle for the overlay at the top of the display with the provided index number. Overlay is the internal name for what is called pop-ups or menus in the rest of this manual.
Argument
This function does not have any arguments.
Return
- Handle | nil:
The function returns a handle to the top overlay UI object if there is one.
Example
This example uses the Dump() function to show information about the MenuSelector pop-up - it is the one opening when pressing the Menu key.
Dump()
The Dump() function returns a string with information about the object, for instance, the name, class, path of the object, its properties, and children.
Learn more in the Dump() topic.
Lua |
return function() |