• Publicity: Public Only All

tab-procs.tcl

Procs for creating the tabbed UI

Location:
packages/acs-templating/tcl/tab-procs.tcl

Procedures in this file

Detailed information

template::tabstrip (public)

 template::tabstrip command [ args... ]

Dispatch procedure for tabstrip.

Parameters:
command (required)

Testcases:
No testcase defined.

template::tabstrip::add_tab (public)

 template::tabstrip::add_tab dlg_name name label template [ args... ]

Add a tab to the given tabstrip.

Parameters:
dlg_name (required)
name (required)
label (required)
template (required)

Testcases:
No testcase defined.

template::tabstrip::create (public)

 template::tabstrip::create dlg_name [ args... ]

Create a tabstrip, which is a UI tool consisting of a set of clickable tabs.

Parameters:
dlg_name (required)

Testcases:
No testcase defined.

template::tabstrip::set_current_tab (public)

 template::tabstrip::set_current_tab dlg_name tab_name [ rel_level ]

Set the current tab (to be highlighted as a cue for the user) in the given tabstrip.

Parameters:
dlg_name (required)
tab_name (required)
rel_level (optional, defaults to "2")

Testcases:
No testcase defined.

template::widget::tab (public)

 template::widget::tab element_reference tag_attributes

Widget to create one tab in a set of tabs ("tabstrip") in the tabbed UI.

Parameters:
element_reference (required)
Reference variable to the form element
tag_attributes (required)
HTML attributes to add to the tag
Returns:
Form HTML for the widget

Testcases:
No testcase defined.
[ show source ]