• 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)

Partial Call Graph (max 5 caller/called nodes):
%3

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)

Partial Call Graph (max 5 caller/called nodes):
%3 template::adp_level template::adp_level (public) template::tabstrip::set_current_tab template::tabstrip::set_current_tab (public) template::util::get_opts template::util::get_opts (public) template::tabstrip::add_tab template::tabstrip::add_tab template::tabstrip::add_tab->template::adp_level template::tabstrip::add_tab->template::tabstrip::set_current_tab template::tabstrip::add_tab->template::util::get_opts

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)

Partial Call Graph (max 5 caller/called nodes):
%3 template::adp_level template::adp_level (public) template::tabstrip::set_current_tab template::tabstrip::set_current_tab (public) template::util::get_opts template::util::get_opts (public) template::util::is_nil template::util::is_nil (public) template::tabstrip::create template::tabstrip::create template::tabstrip::create->template::adp_level template::tabstrip::create->template::tabstrip::set_current_tab template::tabstrip::create->template::util::get_opts template::tabstrip::create->template::util::is_nil

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")

Partial Call Graph (max 5 caller/called nodes):
%3 template::tabstrip::add_tab template::tabstrip::add_tab (public) template::tabstrip::set_current_tab template::tabstrip::set_current_tab template::tabstrip::add_tab->template::tabstrip::set_current_tab template::tabstrip::create template::tabstrip::create (public) template::tabstrip::create->template::tabstrip::set_current_tab template::adp_level template::adp_level (public) template::tabstrip::set_current_tab->template::adp_level

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

Partial Call Graph (max 5 caller/called nodes):
%3 template::widget::merge_tag_attributes template::widget::merge_tag_attributes (public) template::widget::tab template::widget::tab template::widget::tab->template::widget::merge_tag_attributes

Testcases:
No testcase defined.
[ show source ]