Skip to content

Commit

Permalink
update to 1.2.187
Browse files Browse the repository at this point in the history
  • Loading branch information
d954mas committed Sep 20, 2021
1 parent 54cffcb commit f2025a8
Show file tree
Hide file tree
Showing 4 changed files with 1,946 additions and 1,915 deletions.
9 changes: 4 additions & 5 deletions DefoldDocs/api/gui.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---GUI API documentation
---GUI core hooks, functions, messages, properties and constants for
---creation and manipulation of GUI nodes. The "gui" namespace is
---accessible only from gui scripts.
---GUI API documentation
---@class gui
gui = {}
---This is a callback-function, which is called by the engine when a gui component is finalized (destroyed). It can
Expand Down Expand Up @@ -327,7 +325,7 @@ function gui.get_height() end
---@return hash the id of the node
function gui.get_id(node) end

---Retrieve the index of the specified node.
---Retrieve the index of the specified node among its siblings.
---The index defines the order in which a node appear in a GUI scene.
---Higher index means the node is drawn on top of lower indexed nodes.
---@param node node the node to retrieve the id from
Expand Down Expand Up @@ -537,8 +535,9 @@ function gui.hide_keyboard() end
---Returns true if a node is enabled and false if it's not.
---Disabled nodes are not rendered and animations acting on them are not evaluated.
---@param node node node to query
---@param recursive boolean check hierarchy recursively
---@return boolean whether the node is enabled or not
function gui.is_enabled(node) end
function gui.is_enabled(node, recursive) end

---Alters the ordering of the two supplied nodes by moving the first node
---above the second.
Expand Down
Loading

0 comments on commit f2025a8

Please sign in to comment.