Query: datefield
OS: debian
Section: 3tk
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
datefield(3tk) Tk datefield widget datefield(3tk) __________________________________________________________________________________________________________________________________________________NAMEdatefield - Tk datefield widgetSYNOPSISpackage require Tk package require datefield ?0.2? ::datefield::datefield widgetpath ?options? _________________________________________________________________DESCRIPTIONThe datefield package provides the datefield widget which is an enhanced text entry widget for the purpose of date entry. Only valid dates of the form MM/DD/YYYY can be entered. The datefield widget is, in fact, just an entry widget with specialized bindings. This means all the command and options for an entry wid- get apply equally here.COMMANDS::datefield::datefield widgetpath ?options? Creates and configures a date field widget.OPTIONSSee the entry manual entry for details on all available options.EXAMPLEpackage require datefield wm title . "Datefield example" proc DayOfWeek {args} { set now [clock scan $::myDate] set ::myDate2 [clock format $now -format %A] } trace variable myDate w DayOfWeek ::datefield::datefield .df -textvariable myDate label .l1 -text "Enter a date:" -anchor e label .l2 -text "That date is a:" -anchor e label .l3 -textvariable myDate2 -relief sunken -width 12 grid .l1 .df -sticky ew grid .l2 .l3 -sticky ew focus .dfSEE ALSOclock(3tcl), entry(3tk)KEYWORDSclock, entry, widgetCOPYRIGHTCopyright (c) Keith Vetter <keith@ebook.gemstar.com> datefield 0.2 datefield(3tk)
Related Man Pages |
---|
iwidgets_dateentry(1) - mojave |
iwidgets_datefield(1) - debian |
iwidgets_dateentry(1) - suse |
datefield(n) - osx |
iwidgets_dateentry(1) - osx |
Similar Topics in the Unix Linux Community |
---|
few TCL question |
find file with date and recursive search for a text |
Date from GNU to BSD |