From 961905a6cf6480ea61617ac91005a2539d8c4e47 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Wed, 23 Oct 2013 17:11:56 +0200 Subject: [PATCH] NasalCanvas: expose Element::getParent() to Nasal --- src/Scripting/NasalCanvas.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Scripting/NasalCanvas.cxx b/src/Scripting/NasalCanvas.cxx index 0df6133f0..3e57389dd 100644 --- a/src/Scripting/NasalCanvas.cxx +++ b/src/Scripting/NasalCanvas.cxx @@ -229,6 +229,7 @@ naRef initNasalCanvas(naRef globals, naContext c) .method("addEventListener", &sc::Canvas::addEventListener); NasalElement::init("canvas.Element") .member("_node_ghost", &elementGetNode) + .method("_getParent", &sc::Element::getParent) .method("addEventListener", &sc::Element::addEventListener) .method("getTransformedBounds", &f_elementGetTransformedBounds); NasalGroup::init("canvas.Group")