[.GDefaultWidget {gWidgets2} | R Documentation |
Return items
Description
Names are used in many different contexts.
We use the extraction operator, [
, typically to refer to
the underlying items from which a selection can be made. As well,
we overload this to containers to refer to the child components.
The update method will ca use a widget to recompute itself, if it is necessary.
The current items for a gdf
object are both the visible and
non-visible items. To retrieve just the currently visible items,
use the idiom obj[visible(obj), ]
.
The underlying widget may allow autocompletion, if this is the case then this method is used to set the list of candidates.
Usage
## S3 method for class 'GDefaultWidget'
x[i, j, ...]
## S3 method for class 'GComponent'
length(x)
## S3 replacement method for class 'GComponent'
length(x) <- value
## S3 method for class 'GComponent'
dim(x)
## S3 method for class 'GComponent'
names(x)
## S3 replacement method for class 'GComponent'
names(x) <- value
## S3 method for class 'GComponent'
dimnames(x)
## S3 replacement method for class 'GComponent'
dimnames(x) <- value
## S3 method for class 'GComponent'
x[i, j, ..., drop = TRUE]
## S3 method for class 'GContainer'
x[i, j, ..., drop = TRUE]
## S3 replacement method for class 'GComponent'
x[i, j, ...] <- value
## S3 method for class 'GComponent'
update(object, ...)
## S3 method for class 'GComponent'
str(object, ...)
## S3 method for class 'GDf'
x[i, j, ..., drop = TRUE]
## S3 method for class 'GEdit'
x[i, j, ..., drop = TRUE]
## S3 replacement method for class 'GFrame'
names(x) <- value
Arguments
x |
component |
i |
index or row index if applicable |
j |
column index if applicable |
... |
dots argument |
value |
value to assign |
drop |
logical. Does return value get "dropped" down to something easier? |
object |
object to update |
Value
length of object