is.tk2widget | R Documentation |
Tk2widgets can be used as tcltk widgets, but they propose also an object-oriented interaction through these different methods.
is.tk2widget(x)
## S3 method for class 'tk2widget'
print(x, ...)
tk2cfglist(...)
## S3 method for class 'tk2cfglist'
print(x, ...)
state(x, ...)
## S3 method for class 'tk2widget'
state(x, ...)
label(x, ...)
## S3 method for class 'tk2widget'
label(x, ...)
label(x) <- value
## S3 replacement method for class 'tk2widget'
label(x) <- value
tag(x, ...)
## S3 method for class 'tk2widget'
tag(x, ...)
tag(x) <- value
## S3 replacement method for class 'tk2widget'
tag(x) <- value
disabled(x, ...)
## S3 method for class 'tk2widget'
disabled(x, ...)
disabled(x) <- value
## S3 replacement method for class 'tk2widget'
disabled(x) <- value
values(x, ...)
## S3 method for class 'tk2widget'
values(x, ...)
## S3 method for class 'tk2listbox'
values(x, ...)
values(x) <- value
## S3 replacement method for class 'tk2widget'
values(x) <- value
## S3 replacement method for class 'tk2listbox'
values(x) <- value
value(x, ...)
## S3 method for class 'tk2widget'
value(x, ...)
## S3 method for class 'tk2listbox'
value(x, ...)
value(x) <- value
## S3 replacement method for class 'tk2widget'
value(x) <- value
## S3 replacement method for class 'tk2listbox'
value(x) <- value
selection(x, ...)
## S3 method for class 'tk2widget'
selection(x, ...)
## S3 method for class 'tk2listbox'
selection(x, ...)
selection(x) <- value
## S3 replacement method for class 'tk2widget'
selection(x) <- value
## S3 replacement method for class 'tk2listbox'
selection(x) <- value
visibleItem(x, index, ...)
## S3 method for class 'tk2widget'
visibleItem(x, index, ...)
## S3 method for class 'tk2listbox'
visibleItem(x, index, ...)
size(x, ...)
## S3 method for class 'tk2widget'
size(x, ...)
## S3 method for class 'tk2listbox'
size(x, ...)
config(x, ...)
## S3 method for class 'tk2widget'
config(x, cfglist, ...)
## S3 method for class 'tk2label'
config(x, cfglist, ...)
config(x) <- value
## S3 replacement method for class 'tk2widget'
config(x) <- value
## S3 replacement method for class 'tk2label'
config(x) <- value
x |
A tk2widget object. |
... |
A series of named arguments corresponding to parameters and values
to use for the configuration for |
value |
A value to assign to the object's method. |
index |
The zero-based index of the item to make visible. |
cfglist |
a list containing one or more named items, with the name being a Tcl/Tk property and items being the new value for the property. |
Depends on the function. The is.xxx()
function return TRUE
or FALSE
if
the object is of the right class or not. The assignations form return the
assigned value. The direct form return the item.
Philippe Grosjean
tk2button()
, tk2tip()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.