rk.XML.menu | R Documentation |
This function will create a menu node for hierarchy sections.
Use same id
values to place entries in the same menu.
rk.XML.menu(label, ..., index = -1, id.name = "auto", i18n = NULL)
label |
Character string, a label for the menu. |
... |
Eithet objects of class |
index |
Integer number to influence the level of menu placement. If |
id.name |
Character, a unique ID for this plugin element.
If |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.XML.hierarchy
,
rk.XML.entry
,
rk.XML.component
,
rk.XML.components
,
and the Introduction to Writing Plugins for RKWard
test.component <- rk.XML.component("My GUI dialog", "plugins/MyGUIdialog.xml") test.entry <- rk.XML.entry(test.component) test.menu <- rk.XML.menu("Analysis", test.entry, id.name="analysis") cat(pasteXML(test.menu)) # manual definition of a menu path by a list: test.menu <- rk.XML.menu("Analysis", list("Level 1", "Level 2", test.component))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.