System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 7/08/2024
Public
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