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
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 GCalendar
addHandlerChanged(obj, handler, action = NULL, ...)
# S3 method for GCalendar
svalue(obj, index = NULL, drop = NULL, ...)
initial text
Date format
handler called when changed
passed to handler
parent container
passed to add
method of parent
toolkit
receiver object
ignored
if TRUE
return a character, else a Date
class object.
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.