Hello Andreas and Harald,
the Calendar needs some updates I'll append/attach here the next days.
There will be a new option "-variable" to be used to set/retrieve the
variable name for showing the actual date in all cases of -type embedded,
dialog and popup.
On embedding, the widget returns its path (as much other widgets do),
because the user has to be able to destroy the embedded widget at the end
of its use for sure.
The Widget::init is/was left for complete checks, data structures and proc's.
Finally, in -type dialog the return value will be the index of the button
pressed or -1 for the close (X).
The date value(s) are stored in the variable defined by -variable.
Only in case of -type popup the result is an (un-)changed date or empty.
Updated the corresponding man-page and demos too.
Best greetings, Thomas W.