VxOptionMenu(VTCL)

VxOptionMenu(VTCL)


VxOptionMenu -- return option list that contains pushbuttons for specified options

Syntax

VxOptionMenu object_name label [optionList] defaultCB selection

Description

Returns an option list that contains pushbuttons for the options specified.

Options

object_name
Widget hierarchy of option menu.

label
Menu label (for example, filename:).

optionList
Tcl list of options (to be used as labels for the pushbuttons).

defaultCB
Callback to be called when option menu changes.

selection
Option which is initially selected (for example, ``one'').