mirror of
https://github.com/edubart/otclient.git
synced 2025-12-17 22:27:11 +01:00
new lua function for creating widgets: createWidget
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function dumpWidgets()
|
||||
for i=1,UI.root:getChildCount() do
|
||||
print(UI.root:getChildByIndex(i):getId())
|
||||
for i=1,rootWidget:getChildCount() do
|
||||
print(rootWidget:getChildByIndex(i):getId())
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user