Function VisualServerSingleton.canvasItemSetParent

Sets the parent for the CanvasItem. The parent can be another canvas item, or it can be the root canvas that is attached to the viewport.

void canvasItemSetParent (
  const(RID) item,
  const(RID) parent
) nothrow @nogc;