dt_widget_day (public, deprecated)
dt_widget_day [ -calendar_details calendar_details ] [ -date date ] \ [ -hour_template hour_template ] [ -start_hour start_hour ] \ [ -end_hour end_hour ] [ -show_nav show_nav ] \ [ -prev_nav_template prev_nav_template ] \ [ -next_nav_template next_nav_template ] \ [ -master_bgcolor master_bgcolor ] \ [ -header_bgcolor header_bgcolor ] \ [ -header_text_color header_text_color ] \ [ -header_text_size header_text_size ] \ [ -calendar_width calendar_width ] [ -day_bgcolor day_bgcolor ] \ [ -today_bgcolor today_bgcolor ] \ [ -day_text_color day_text_color ] \ [ -empty_bgcolor empty_bgcolor ] [ -overlap_p overlap_p ]
Defined in packages/acs-datetime/tcl/acs-calendar-2-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Returns a calendar for a specific day, with details supplied by hour. Defaults to today. DEPRECATED: this proc uses hardcoded markup and is therefore difficult to style. It is also not localized. Many of the date operations happening here have now good tcl support through the clock api, which would make this code probably faster. Future reimplementations should leverage the templating system more.
- Switches:
- -calendar_details (optional)
- -date (optional)
- -hour_template (optional, defaults to
"$display_hour"
)- -start_hour (optional, defaults to
"0"
)- -end_hour (optional, defaults to
"23"
)- -show_nav (optional, defaults to
"1"
)- -prev_nav_template (optional, defaults to
"<a href="?date=[ns_urlencode $yesterday]"><img border="0" src="[dt_left_arrow]" alt="[_ acs-datetime.back_one_day]"></a>"
)- -next_nav_template (optional, defaults to
"<a href="?date=[ns_urlencode $tomorrow]"><img border="0" src="[dt_right_arrow]" alt="[_ acs-datetime.forward_one_day]"></a>"
)- -master_bgcolor (optional, defaults to
"black"
)- -header_bgcolor (optional, defaults to
"black"
)- -header_text_color (optional, defaults to
"white"
)- -header_text_size (optional, defaults to
"+2"
)- -calendar_width (optional, defaults to
"100%"
)- -day_bgcolor (optional, defaults to
"#DDDDDD"
)- -today_bgcolor (optional, defaults to
"yellow"
)- -day_text_color (optional, defaults to
"white"
)- -empty_bgcolor (optional, defaults to
"white"
)- -overlap_p (optional, defaults to
"0"
)- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.