::hwat::widgets::cardimage::CardPreview

Manages cards: creates Card Preview panel, populates the card tree, provides fields panel with values, and allows you to select/deselect cards on the tree.

Syntax

::hwat::widgets::cardimage::CardPreview str_parentFrame str_task str_treeTitle n_id str_outFile

Arguments

str_parentFrame
Name of the parent frame where to embed a cardimage widget.
str_task
Task name: tag attribute name from XML (CARDPREVIEW or material name or section name etc.).
str_treeTitle
Parent branch name ("description" value from the parent tag).
str_callback
User’s callback which accepts only one argument: spinner value, i.e. translation value.
n_id
Task ID, drivem from HWPM.
str_outFile
Output file name to export cards and fields.

Returns

N/A

Example

::hwat::widgets::cardimage::CardPreview .top.cardimage CARRDPREVIEW "Control Cards for DYNA" 0 "d:/temp/cardout.txt";