grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » GetTopModal() |
Version 2.1
|
The GetTopModal Lua function returns a handle for the modal at the top. Modal is the internal name for pop-ups that interrupt the system's normal operation. A modal blocks other UI elements from being used while it is open.
For example, when opening a window's settings pop-up, it is not possible to use the command line.
The settings pop-up is a modal.
Modals can also be identified by the rest of the UI, which darkens a bit when it is open.
この関数は、引数を受け取りません。
This example uses the Dump() function to show information about the StagePopup selection pop-up.
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() |