rk.XML.entry: Create XML "entry" node for RKWard plugins

View source: R/rk.XML.entry.R

rk.XML.entryR Documentation

Create XML "entry" node for RKWard plugins

Description

This function will create a entry node for menu sections in .pluginmap files.

Usage

rk.XML.entry(component, index = -1)

Arguments

component

A "component" object of class XiMpLe.node, or an ID.

index

Integer number to influence the level of menu placement.

Value

An object of class XiMpLe.node.

See Also

rk.XML.menu, rk.XML.hierarchy, rk.XML.component, rk.XML.components, and the Introduction to Writing Plugins for RKWard

Examples

test.component <- rk.XML.component("My GUI dialog", "plugins/MyGUIdialog.xml")
test.entry <- rk.XML.entry(test.component)
cat(pasteXML(test.entry))

rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.