add uinode.parent read-only property

This commit is contained in:
MihailRis
2025-04-16 20:58:57 +03:00
parent 8456f6fc56
commit 3e493a4a97
3 changed files with 30 additions and 0 deletions
+5
View File
@@ -186,9 +186,14 @@ end
gui_util = require "core:internal/gui_util"
Document = gui_util.Document
Element = gui_util.Element
RadioGroup = gui_util.RadioGroup
__vc_page_loader = gui_util.load_page
function __vc_get_document_node(docname, nodeid)
return Element.new(docname, nodeid)
end
_GUI_ROOT = Document.new("core:root")
_MENU = _GUI_ROOT.menu
menu = _MENU