Description Usage Arguments Value
The date is the main property of this widget
generic for toolkit dispatch
Change handler for a calendar is called when the text value is updated
The svalue
method for a calendar object returns the selected date
1 2 3 4 5 6 7 8 9 10 11 | gcalendar(text = "", format = "%Y-%m-%d", handler = NULL,
action = NULL, container = NULL, ..., toolkit = guiToolkit())
.gcalendar(toolkit, text = "", format = "%Y-%m-%d", handler = NULL,
action = NULL, container = NULL, ...)
## S3 method for class 'GCalendar'
addHandlerChanged(obj, handler, action = NULL, ...)
## S3 method for class 'GCalendar'
svalue(obj, index = NULL, drop = NULL, ...)
|
text |
initial text |
format |
Date format |
handler |
handler called when changed |
action |
passed to handler |
container |
parent container |
... |
passed to |
toolkit |
toolkit |
obj |
receiver object |
index |
ignored |
drop |
if |
Returns an object of class GCalendar
for which the following methods are overridden:
svalue
get the date
svalue<-
set the date
The change handler is inherited from gedit
If drop=TRUE
a character string, else a Date
class object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.