Description Usage Arguments Value See Also
add stock icons
Returns list of icons. Names are stock ids; value is related to an icon (an icon or name...)
return stock id. With Qt use as_qicon
to create
icon
helper function
return stock id from object
toolkit constructor for gwindow
Toolkit constructor
Toolkit constructor
Toolkit XXX constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
toolkit implementation for gmessage
toolkit implementation for gconfirm
toolkit implmentation of ginput
toolkit implementation
toolkit implementation of galert
Toolkit constructor
Toolkit gedit constructor
Toolkit implementation
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit button constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit XXX constructor
Toolkit constructor
Toolkit constructor
toolkit implementation
S3 method for gtimer
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit label constructor
gframe constructor
toolkit constructor
Toolkit constructor
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | ## S3 method for class 'guiWidgetsToolkitQt'
.addStockIcons(toolkit,
iconNames, iconFiles, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.getStockIcons(toolkit,
...)
## S3 method for class 'guiWidgetsToolkitQt'
.getStockIconByName(toolkit, name, ...)
addToStockIcons(iconNames, iconFiles)
## S3 method for class 'guiWidgetsToolkitQt'
.stockIconFromObject(toolkit, obj, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gwindow(toolkit, title,
visible, name, width, height, parent, handler, action,
...)
## S3 method for class 'guiWidgetsToolkitQt'
.gaction(toolkit, label,
tooltip = NULL, icon = NULL, key.accel = NULL,
handler = NULL, action = NULL, parent = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gcalendar(toolkit,
text = "", format = "%Y-%m-%d", handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gcheckbox(toolkit, text,
checked = FALSE, use.togglebutton = FALSE,
handler = NULL, action = NULL, container = NULL, ...,
parent = NULL)
## S3 method for class 'guiWidgetsToolkitQt'
.gcheckboxgroup(toolkit = NULL, items, checked = FALSE,
horizontal = FALSE, use.table = FALSE, handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gcombobox(toolkit, items,
selected = 1, editable = FALSE, coerce.with = NULL,
handler = NULL, action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gtable(toolkit, items,
multiple = FALSE, chosen.col = 1, icon.col = NULL,
tooltip.col = NULL, handler = NULL, action = NULL,
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gmenu(toolkit,
menu.list = list(), popup = FALSE, container = NULL,
...)
## S3 method for class 'guiWidgetsToolkitQt'
.gmessage(toolkit, msg,
title = "message",
icon = c("info", "warning", "error", "question"),
parent = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gconfirm(toolkit, msg,
title = "Confirm",
icon = c("info", "warning", "error", "question"),
parent = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.ginput(toolkit, msg,
text = "", title = "Input",
icon = c("info", "warning", "error", "question"),
parent = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gbasicdialog(toolkit,
title = "Dialog", parent = NULL, do.buttons = TRUE,
handler = NULL, action = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.galert(toolkit, msg,
title = "message", delay = 3, parent = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gdf(toolkit,
items = NULL, handler = NULL, action = NULL,
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gedit(toolkit, text = "",
width = 25, coerce.with = NULL,
initial.msg = initial.msg, handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gfile(toolkit, text = "",
type = c("open", "save", "selectdir"),
initial.filename = NULL,
filter = list(`All files` = list(patterns = c("*")), `R files` = list(patterns = c("*.R", "*.Rdata")), `text files` = list(mime.types = c("text/plain"))),
multi = FALSE, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gfilebrowse(toolkit,
text = "", type = c("open", "save", "selectdir"),
initial.filename = NULL, filter = list(), quote = TRUE,
handler = NULL, action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gformlayout(toolkit,
align = "left", spacing = 5, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.ggraphics(toolkit,
width = dpi * 6, height = dpi * 6, dpi = 75, ps = 12,
handler = NULL, action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.ghtml(toolkit, x,
container, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gimage(toolkit,
filename = "", dirname = "", stock.id = NULL,
size = "", handler = NULL, action = NULL,
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.glayout(toolkit,
homogeneous = FALSE, spacing = 10, container = NULL,
...)
## S3 method for class 'guiWidgetsToolkitQt'
.gnotebook(toolkit,
tab.pos = 3, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gpanedgroup(toolkit,
horizontal = TRUE, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gradio(toolkit, items,
selected = 1, horizontal = FALSE, handler = NULL,
action = NULL, container = NULL, ..., parent = NULL)
## S3 method for class 'guiWidgetsToolkitQt'
.gseparator(toolkit,
horizontal = TRUE, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gslider(toolkit,
from = 0, to = 100, by = 1, value = from,
horizontal = TRUE, handler = NULL, action = NULL,
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gspinbutton(toolkit,
from = 0, to = 10, by = 1, value = from, digits = 0,
handler = NULL, action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gstackwidget(toolkit,
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gstatusbar(toolkit,
text = "", container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gtext(toolkit,
text = NULL, width = NULL, height = 300,
font.attr = NULL, wrap = TRUE, handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gtimer(toolkit, ms, FUN,
data = NULL, one.shot = FALSE, start = TRUE)
## S3 method for class 'guiWidgetsToolkitQt'
.gtoolbar(toolkit,
toolbar.list = list(),
style = c("both", "icons", "text", "both-horiz"),
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gtree(toolkit,
offspring = NULL, offspring.data = NULL,
chosen.col = 1, offspring.col = 2, icon.col = NULL,
tooltip.col = NULL, multiple = FALSE, handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gvarbrowser(toolkit,
handler = NULL, action = "summary", container = NULL,
...)
## S3 method for class 'guiWidgetsToolkitQt'
.gbutton(toolkit, text,
handler, action, container, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.glabel(toolkit,
text = "", markup = FALSE, editable = FALSE,
handler = NULL, action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gframe(toolkit, text,
markup, pos, horizontal = TRUE, spacing = 5,
container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gexpandgroup(toolkit,
text, markup, horizontal = TRUE, handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'guiWidgetsToolkitQt'
.gprogressbar(toolkit,
value, container, ...)
|
name |
name of icon |
obj |
R object to get icon from |
delay |
delay |
initial.msg |
If this is given and |
width |
width of device (pixels) |
height |
height of device (pixels) |
dpi |
dots per inch |
ps |
pointsize |
digits |
digits |
toolkit |
used to dispatch into toolkit if a separate implementation is made |
iconNames |
names of icons |
iconFiles |
path of icons |
... |
ignored |
title |
title for window's title bar. This is the
main property and is accessed via |
visible |
logical. If codeTRUE window is drawn
when constructed. Otherwise, window can be drawn later
using |
parent |
If non-NULL, can be used to suggest default location of window. The argument name was changed from location to parent. This can be a coordinate pair (x,y) with (0,0) the upper left corner, or a gwindow instance. In the latter case the location is suggested by the location of the current window. This is useful for placing dialogs near the parent window. |
handler |
handler for destroy event |
action |
action passed t handler |
label |
label for action |
tooltip |
toolktip for actin |
icon |
icon (stock icon name) for icon |
key.accel |
keyboard accelerator. If given, parent must be specified. |
text |
initial text |
format |
Date format |
container |
parent container |
checked |
is button selected |
use.togglebutton |
Use a toggle button (shows depressed) not a check box |
x |
checkbox object |
value |
assignment value |
items |
checkbox labels |
horizontal |
logical. If true displayed horizontally, else vertically |
use.table |
logical. If supported, and |
selected |
integer. Which item (by index) is selected. Use -1 for no selection |
editable |
logical. Is user allowed to edit value |
coerce.with |
A function of function name to be
called before selected value is returned by
|
multiple |
logical allow multiple selectino |
chosen.col |
which value from the row is returned by selection |
icon.col |
NULL or integer. If latter, specifies column containing stock icon |
tooltip.col |
NULL or integer. If latter, specifies column containing tooltip |
menu.list |
A list defining the menu structure.
Named sub lists determine the submenu titles and
structure. The list may have components of class:
|
popup |
logical. If true, make a popup window to be added through a handler call |
msg |
Character. Message to display. |
do.buttons |
FALSE to suppress buttons when no parent |
type |
type of browser: to open a file, to save a file or to select a directory |
initial.filename |
Suggested file name |
filter |
A filter specifiation. This can be a named character vector of file extensions or something toolkit specific. Here are some examples:
|
multi |
Logical. Allow multiple files to be selected? |
quote |
quote output |
align |
alignment of label. Left justify or center balance. Leave as "default" for underlying toolkit default. |
spacing |
spacing between columns |
filename |
basename of file |
dirname |
dirname of file |
stock.id |
stock id of icon (if non NULL) |
size |
size of icon when a stock id (toolkit dependent) |
homogeneous |
are cells all the same size |
tab.pos |
integer. Position of tabs, 1 on bottom, 2 left, 3 top, 4 right. (If supported) |
from |
If a number of length one then a starting
point, in which case to, by are passed to |
to |
ending point when from is starting point |
by |
step size if not specified by |
markup |
logical. If toolkit supports markup, this
indicates it will be used. It is suggested that the
|
font.attr |
font attributes for text buffer. One can also specify font attributes for insertion. The font attributes are specified with a named vector or list, with names and values coming from:
|
wrap |
logical do lines wrap |
ms |
interval in milliseconds |
FUN |
FUnction to call. Has one argument, data passed in |
data |
passed to function |
one.shot |
logical. If TRUE, called just once, else repeats |
start |
logical. If FALSE, started by
|
toolbar.list |
list. A one-level list of
|
style |
style for icon or text. |
offspring |
function. A function passed values
|
offspring.data |
Passed to second argument of
|
offspring.col |
integer or column name. Points to column containing logical values indicating if a row has offspring. |
pos |
position of label: 0=left, 1=right, some toolkit allow values in between |
NULL
The documentation for this is found at
gbutton
.
The documentation for this is found at
gprogressbar
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.