toolkit implementation for gmessage
toolkit implementation for gconfirm
toolkit implmentation of ginput
toolkit implementation
toolkit implementation of galert
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit XXX constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit gedit constructor
toolkit constructor
Toolkit implementation
Toolkit constructor
Toolkit constructor
toolkit constructor for ggroup
gframe constructor
Toolkit constructor
Toolkit label constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit constructor
Toolkit XXX constructor
Toolkit constructor
Toolkit constructor
toolkit implementation of gtext
S3 method for gtimer
Toolkit constructor
Toolkit constructor
toolkit constructor for gwindow
add stock icons
Returns list of stock ids
return stock id
return stock id from object
# S3 method for guiWidgetsToolkittcltk
.gmessage(toolkit, msg,
title = "message", icon = c("info", "warning", "error", "question"),
parent = NULL, ...)# S3 method for guiWidgetsToolkittcltk
.gconfirm(toolkit, msg,
title = "Confirm", icon = c("info", "warning", "error", "question"),
parent = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.ginput(toolkit, msg, text = "",
title = "Input", icon = c("info", "warning", "error", "question"),
parent = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gbasicdialog(toolkit, title = "Dialog",
parent = NULL, do.buttons = TRUE, handler = NULL, action = NULL,
...)
# S3 method for guiWidgetsToolkittcltk
.galert(toolkit, msg, title = "message",
delay = 3, parent = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gmenu(toolkit, menu.list = list(),
popup = FALSE, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gaction(toolkit, label, tooltip = NULL,
icon = NULL, key.accel = NULL, handler = NULL, action = NULL,
parent = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gbutton(toolkit, text, handler, action,
container, ...)
# S3 method for guiWidgetsToolkittcltk
.gcalendar(toolkit, text = "",
format = "%Y-%m-%d", handler = NULL, action = NULL,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gcheckbox(toolkit, text,
checked = FALSE, use.togglebutton = FALSE, handler = NULL,
action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gtable(toolkit, items,
multiple = FALSE, chosen.col = 1, icon.col = NULL,
tooltip.col = NULL, handler = NULL, action = NULL,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gcheckboxgroup(toolkit=NULL, items, checked = FALSE,horizontal = FALSE,
use.table = FALSE, handler = NULL, action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gcombobox(toolkit, items, selected = 1,
editable = FALSE, coerce.with = NULL, handler = NULL,
action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gdf(toolkit, items = NULL,
handler = NULL, action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gedit(toolkit, text = "", width = 25,
coerce.with = NULL, initial.msg = initial.msg, handler = NULL,
action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gexpandgroup(toolkit, text, markup,
horizontal = TRUE, handler = NULL, action = NULL,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gfile(toolkit, text = "",
type = c("open", "save", "selectdir"), initial.filename = NULL,
initial.dir = getwd(), filter = list(), multi = FALSE, ...)
# S3 method for guiWidgetsToolkittcltk
.gfilebrowse(toolkit, text = "",
type = c("open", "save", "selectdir"), initial.filename = NULL,
initial.dir = getwd(), filter = list(), quote = TRUE,
handler = NULL, action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gformlayout(toolkit, align = "left",
spacing = 5, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.ggroup(toolkit, horizontal = TRUE,
spacing = 5, use.scrollwindow = FALSE, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gframe(toolkit, text, markup, pos,
horizontal = TRUE, spacing = 5, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gimage(toolkit, filename = "",
dirname = "", stock.id = NULL, size = "", handler = NULL,
action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.glabel(toolkit, text = "",
markup = FALSE, editable = FALSE, handler = NULL, action = NULL,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.glayout(toolkit, homogeneous = FALSE,
spacing = 10, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gnotebook(toolkit, tab.pos = 3,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gpanedgroup(toolkit, horizontal = TRUE,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gprogressbar(toolkit, value, container,
...)
# S3 method for guiWidgetsToolkittcltk
.gradio(toolkit, items, selected = 1,
horizontal = FALSE, handler = NULL, action = NULL,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gseparator(toolkit, horizontal = TRUE,
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gslider(toolkit, from = 0, to = 100,
by = 1, value = from, horizontal = TRUE, handler = NULL,
action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gspinbutton(toolkit, from = 0,
to = 10, by = 1, value = from, digits = 0, handler = NULL,
action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gstackwidget(toolkit, container = NULL,
...)
# S3 method for guiWidgetsToolkittcltk
.gstatusbar(toolkit, text = "",
container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gtext(toolkit, text = NULL,
width = NULL, height = 300, font.attr = NULL, wrap = TRUE,
handler = NULL, action = NULL, container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gtimer(toolkit, ms, FUN, data = NULL,
one.shot = FALSE, start = TRUE)
# S3 method for guiWidgetsToolkittcltk
.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 guiWidgetsToolkittcltk
.gvarbrowser(toolkit, handler = NULL,
action = "summary", container = NULL, ...)
# S3 method for guiWidgetsToolkittcltk
.gwindow(toolkit, title,
visible = visible, name, width, height, parent, handler, action, ...)
# S3 method for guiWidgetsToolkittcltk
.addStockIcons(toolkit, iconNames,
iconFiles, ...)
# S3 method for guiWidgetsToolkittcltk
.getStockIcons(toolkit, ...)
# S3 method for guiWidgetsToolkittcltk
.getStockIconByName(toolkit,name, ...)
# S3 method for guiWidgetsToolkittcltk
.stockIconFromObject(toolkit,obj, ...)
toolkit
Character. message to display.
Character. Title
What icon to show
Hint as to where to display
ignored
Character. Initial text
FALSE to suppress buttons when no parent
handler called when Ok
button invoked
passed to handler for OK button
delay
A list defining the menu structure. Named sub
lists determine the submenu titles and structure. The list may
have components of class: GAction
, mapped to a button;
GSeparator
, mapped to a horizontal separator;
GRadio
, mapped to linked buttons; or GCheckbox
,
mapped to a checkbox button.
logical. If true, make a popup window to be added through a handler call
A parent container. When a widget is created it can be incorporated into the widget heirarchy by passing in a parent container at construction time. (For some toolkits this is not optional, e.g. gWidgets2tcltk or gWidgets2WWW2.)
label for action
toolktip for actin
keyboard accelerator. If given, parent must be specified.
Date format
is button selected
Use a toggle button (shows depressed) not a check box
data.frame specifies items for selection. May be a vector, matrix or data frame
logical allow multiple selection
which value from the row is returned by selection
NULL or integer. If latter, specifies column containing stock icon
NULL or integer. If latter, specifies column containing tooltip
logical. If true displayed horizontally, else vertically
logical. If supported, and TRUE
then uses a table widget with scrollbars
integer. Which item (by index) is selected. Use -1 for no selection
logical. Is user allowed to edit value
A function of function name to be called before
selected value is returned by svalue
width of widget
initial.msg
does label use markup (toolkit specific)
type of browser: to open a file, to save a file or to select a directory
Suggested file name
initial directory. If a filename is given, and is not an absolute name, this will be prepended. If filename given initial directory will be taken from that.
A filter specifiation. This can be a named character vector of file extensions or something toolkit specific. Here are some examples:
characterc("csv"="csv","txt"="txt")
RGtk2 Something like
list("All files" = list(patterns = c("*")), "R files" = list(patterns = c("*.R", "*.Rdata")), "text files" = list(mime.types = c("text/plain")) )
tcltk
Qt
Logical. Allow multiple files to be selected?
quote output
alignment of label. Left justify or center balance. Leave as "default" for underlying toolkit default.
spacing between columns
logical. Either TRUE
,
"TRUE"
, FALSE
, "FALSE"
, "y"
, or
"x"
. For all toolkits a non-FALSE value will place the
child components into a scrollable container. For some toolkits
this will only be in the direction of packing. If the toolkit
allows it (RGtk2), then values of "x"
or "y"
can be
used to override the default scrolling directions. A box container with
scrollwindows should have it size set either directly or through
packing with expand=TRUE
as its size request will not
reflect the size of its child components.
position of label: 0=left, 1=right, some toolkit allow values in between
basename of file
dirname of file
stock id of icon (if non NULL)
size of icon when a stock id (toolkit dependent)
are cells all the same size
integer. Position of tabs, 1 on bottom, 2 left, 3 top, 4 right. (If supported)
a list or menu bar specifying the new men ubar
If a number of length one then a starting point, in
which case to, by are passed to seq
. Otherwise a sequence
of values for which sort(unique(from)) will order
ending point when from is starting point
step size if not specified by from
digits
height of widget (when width is specified)
font attributes for text buffer. One can also specify font attributes for insertion. The font attributes are specified with a list with named components, with names and values coming from:
in c("light", "normal", "bold", "heavy")
inc("normal", "oblique", "italic")
in c("sans", "helvetica", "times", "monospace")
in c("xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large")
a value in colors()
a value in colors()
logical do lines wrap
interval in milliseconds
FUnction to call. Has one argument, data passed in
passed to function
logical. If TRUE, called just once, else repeats
logical. If FALSE, started by start_timer
OO method. (Call obj$start_time()
).
function. A function passed values path
and data
, the latter from offspring.data
. The path is the current position of the parent item using the named keys from the chosen column.
Passed to second argument of offspring
function. Used to parameterize a function call.
integer or column name. Points to column containing logical values indicating if a row has offspring.
logical. If codeTRUE window is drawn when
constructed. Otherwise, window can be drawn later using
visible<-
. This value can default to FALSE
by
setting the option:
options("gWidgets:gwindow-default-visible-is-false"=TRUE)
.
There are advantages: windows can draw slowly when adding many
items. With gWidgets2RGtk2, the ggraphics
widget can
like to be added to an undrawn widget as this avoids sizing issue.
name of icon
names of icons
path of icons
obj to get icon from
The documentation for this is found at gbutton
.
The documentation for this is found at gprogressbar
.