Provided by: tklib_0.6-2_all bug

NAME

       widget_dateentry - Date Entry Megawidget

SYNOPSIS

       package require Tcl  8.4

       package require Tk  8.4

       package require widget  ?3.0?

       package require widget::dateentry  ?0.96?

       widget::dateentry pathname ?options?

_________________________________________________________________

DESCRIPTION

       This package provides a dateentry megawidget (snidget).  It is based on an ttk::entry. All
       widget commands of the ttk::entry are available for the dateentry.

       widget::dateentry pathname ?options?

WIDGET OPTIONS

       -command
              A script to evaluate when a date was selected.

       -dateformat
              The format of the date that is returned. Default: %m/%d/%Y.

       -firstday
              See the calendar man page.

       -font  Select the font used in the widget. It defaults to Helvetica 9.

       -highlightcolor
              See the calendar man page.

       -language
              See the calendar man page.

       -shadecolor
              See the calendar man page.

       -showpast
              See the calendar man page.

       -textvariable
              Specifies the name of a variable whose  value  is  linked  to  the  entry  widget's
              contents.   Whenever the variable changes value, the widget's contents are updated,
              and vice versa.

WIDGET COMMAND

       pathname get Returns the selected date.

DEFAULT BINDINGS

       On creation of the dateentry widget the following bindings are installed.  For  navigation
       within the calendar, see its manpage.

       •      Button-1 - Accept and select the date and close the calendar window.

       •      Return, space - Accept the selected date and close the calendar window

       •      Escape - Close calendar window

       •      Control-space - Show calendar window

EXAMPLE

                  package require widget::dateentry; # or widget::all
                  set t [widget::dateentry .de]
                  pack $t -fill x -expand 1

KEYWORDS

       date, dateentry, megawidget, snit, widget

CATEGORY

       Widget