System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 4/03/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.1.2. add_display_item

Description

This command adds a display item to the toolkit.

Availability

GLOBAL

Usage

add_display_item <parent-group> <id> <type> [<args>]

ReturnType

Nothing

Returns

no return value

Arguments

parent-group
Parent group of the display item
id
ID of this display item
type
Type of this display item this can be ACTION, GROUP, ICON, PARAMETER, TEXT, DIAL, or LED See Display Item Type.
args (optional)
Optional argument that will be supplied to the callback

Example

add_display_item "Timing" read_latency PARAMETER
add_display_item "Sounds" speaker_image_id ICON speaker.jpg