misc: write values in paired tags with optional class

Description Usage Arguments Value Examples

Description

internal function for writing proto docs

internal function for writing proto docs. return a string

internal function for writing proto docs.

internal function for writing proto docs. return a string

internal function for writing proto docs.

merge two lists, possibly overwriting

A window to show a loading animation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
wrap_in_tag(tag, ..., class = "")

desc(...)

param(value, ...)

returns(...)

ul(values)

## S3 method for class 'list'
merge(x, y, overwrite = TRUE)

loadingAnimation(message = "<b>Loading...</b>")

Arguments

tag

tag to wrap in, eg. "ul"

...

values to be wrapped. Pasted together

class

optional call to add to tag

value

name of parameter return a string

values

values to put into list items

x

a list

y

a list. Named values of y are assigned to x and then x is returned.

overwrite

If TRUE named values in y clobber similarly named values in x

message

A message to display along with graphic while loading. PANGO markup is okay.

Value

a string

returns a string

Returns a list

An item group instance with a close method to call to dismiss window

Examples

1
2
3
4
5
6
7
## we call, something happens, then we close
## Not run: 
w <- loadingAnimation()
## .... something long, like dlg$make_gui() ...
w$close()

## End(Not run)

traitr documentation built on May 2, 2019, 3:32 p.m.

Related to misc in traitr...