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

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

rk.XML.pageR Documentation

Create XML "page" node for RKWard plugins

Description

This function will create a page node for wizard sections, with optional child nodes "browser", "checkbox", "column", "copy", "dropdown", "formula", "frame", "input", "page", "radio", "row", "saveobject", "select", "spinbox", "stretch", "tabbook", "text", "valueselector", "valueslot", "varselector" and "varslot".

Usage

rk.XML.page(..., id.name = "auto")

Arguments

...

Objects of class XiMpLe.node.

id.name

Character string, a unique ID for this plugin element. If "auto", an ID will be generated automatically from the objects in .... If NULL, no ID will be given.

Value

An object of class XiMpLe.node.

See Also

rk.XML.wizard, and the Introduction to Writing Plugins for RKWard

Examples

# define a checkbox for the actual dialog
test.cbox1 <- rk.XML.cbox(label="More than 30 subjects", val="true")
# define the wizard
test.text <- rk.XML.text("Did you test more than 30 subjects?")
test.copy <- rk.XML.copy(id=test.cbox1)
test.wizard <- rk.XML.wizard(rk.XML.page(test.text, test.copy))
cat(pasteXML(test.wizard))

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