SCO Visual Tcl Reference Guide
Chapter 4, Graphical commands
Chapter 4
Chapter 4 Graphical commands
Graphical commands
Graphical commands consist of SCO Visual Tcl commands (prefaced with Vt) and
Extended SCO Visual Tcl commands (prefaced with Vx).
-
VtAddInput(VTCL)
-- add a callback on file activity (read, write, error)
-
VtAddTabGroup(VTCL)
-- append widget to parent object's list of tab groups
-
VtAddTimeOut(VTCL)
-- add a timeout callback
-
VtAddWorkProc(VTCL)
-- add a working procedure
-
VtBeep(VTCL)
-- ring the terminal bell
-
VtCheckBox(VTCL)
-- create a checkbox widget and return widget name
-
VtClose(VTCL)
-- close connection to SCO Visual Tcl server and destroy current widgets
-
VtComboBox(VTCL)
-- create a ComboBox widget and return widget name
-
VtControl(VTCL)
-- bring server into and out of curses raw/cooked mode
-
VtDestroy(VTCL)
-- destroy a widget and its descendants
-
VtDestroyDialog(VTCL)
-- destroys the specified dialog and its descendents
-
VtDisplayHelp(VTCL)
-- display a hard-coded topic name for a widget
-
VtDrawnList(VTCL)
-- create a DrawnList object and return the widget name
-
VtDrawnListAddItem(VTCL)
-- add an item to a drawn list
-
VtDrawnListDeleteItem(VTCL)
-- delete an item from a drawn list
-
VtDrawnListDeselectItem(VTCL)
-- deselect an item from a drawn list
-
VtDrawnListGetItem(VTCL)
-- get record(s) from a drawn list
-
VtDrawnListGetSelectedItem(VTCL)
-- return the position of selected items from drawn list
-
VtDrawnListSelectItem(VTCL)
-- select items in a drawn list
-
VtDrawnListSetItem(VTCL)
-- replace contents of item in drawn list
-
VtDrawnListSetItemValues(VTCL)
-- sets values of item in drawn list given specified options
-
VtErrorDialog(VTCL)
-- create error message dialog, return widget name
-
VtFileSelectionDialog(VTCL)
-- create file selection dialog for current directory
-
VtForm(VTCL)
-- create a form, return widget name
-
VtFormDialog(VTCL)
-- create form dialog using form class options
-
VtFrame(VTCL)
-- create frame around single child, return widget name
-
VtGetValues(VTCL)
-- return value of specified option for given widget
-
VtHide(VTCL)
-- hide but do not destroy object
-
VtHideDialog(VTCL)
-- hide but do not destroy dialog box
-
VtInfo(VTCL)
-- return information about SCO Visual Tcl
-
VtInformationDialog(VTCL)
-- create message dialog containing information icon, return widget name
-
VtLabel(VTCL)
-- create label, return widget name
-
VtList(VTCL)
-- create list widget with or without scrollbar, return widget name
-
VtListAddItem(VTCL)
-- add item(s) to list
-
VtListDeleteItem(VTCL)
-- delete item(s) from list
-
VtListDeselectItem(VTCL)
-- deselect item(s) from list
-
VtListGetItem(VTCL)
-- return item(s) from list
-
VtListGetSelectedItem(VTCL)
-- return positions of selected items in a list
-
VtListSelectItem(VTCL)
-- select item(s) in list
-
VtListSetItem(VTCL)
-- set a list item to a specified value
-
VtLock(VTCL)
-- set cursor to watch cursor, lock out user input
-
VtMainLoop(VTCL)
-- start interaction between script and GUI rendering engine
-
VtMenuBar(VTCL)
-- create menu bar, return widget name
-
VtMessageDialog(VTCL)
-- create message dialog, return widget name
-
VtOpen(VTCL)
-- establish connection to SCO Visual Tcl server
-
VtOptionMenu(VTCL)
-- create an OptionMenu widget, return widget name
-
VtPullDown(VTCL)
-- create pulldown menu, return widget name
-
VtPushButton(VTCL)
-- create pushbutton, return widget name
-
VtQuestionDialog(VTCL)
-- create message icon containing question icon, return widget name
-
VtQuitServer(VTCL)
-- kill all SCO Visual Tcl applications connected to server, then kill server
-
VtRadioBox(VTCL)
-- create radio box, return widget name
-
VtRaiseDialog(VTCL)
-- raise specified dialog above all others
-
VtRemoveAllTabGroups(VTCL)
-- remove all widgets from parent shell's tab group list
-
VtRemoveInput(VTCL)
-- remove add input command for fileID
-
VtRemoveTabGroup(VTCL)
-- remove widget from its parent shell's tab group list
-
VtRemoveTimeOut(VTCL)
-- remove timeout callback
-
VtRemoveWorkProc(VTCL)
-- remove working procedure
-
VtRowColumn(VTCL)
-- create a RowColumn widget
-
VtScale(VTCL)
-- create graphical scale based on current value of field, return widget name
-
VtSelectionDialog(VTCL)
-- create selection dialog, return widget name
-
VtSeparator(VTCL)
-- create horizontal or vertical line, return widget name
-
VtSetAppValues(VTCL)
-- set options for script (applet)
-
VtSetFocus(VTCL)
-- set focus to an object
-
VtSetSensitive(VTCL)
-- set sensitivity of an object
-
VtSetValues(VTCL)
-- set value of a widget option
-
VtShow(VTCL)
-- display a previously hidden object
-
VtShowDialog(VTCL)
-- display a previously hidden dialog
-
VtText(VTCL)
-- create text object, return widget name
-
VtToggleButton(VTCL)
-- create toggle button, return widget name
-
VtUnLock(VTCL)
-- unlock specified application
-
VtWarningDialog(VTCL)
-- create message dialog containing warning icon, return widget name
-
VtWorkingDialog(VTCL)
-- create message dialog containing working icon, return widget name
-
VxAlignBaseLines(VTCL)
-- set top offset of source widget to line up with baseline of target widget
-
VxAlignedForm(VTCL)
-- create vertically aligned widget(s) in a form, return widget name
-
VxCenterVertically(VTCL)
-- set top offset of source widget to line up with centerline of target widget
-
VxCheckBox(VTCL)
-- create a CheckBox allowing titles and labels, return widget name
-
VxComboBox(VTCL)
-- create a ComboBox allowing titles and labels, return widget name
-
VxEndFormCB(VTCL)
-- destroy parent form of widget calling this command
-
VxGetShortName(VTCL)
-- strip parent widgets off widget name, leaving short name
-
VxGetVar(VTCL)
-- get value of variable associated with widget
-
VxList(VTCL)
-- create a list allowing titles and labels, return widget name
-
VxMenu(VTCL)
-- build a menu, given a menu bar and list of items
-
VxMenuGetButton(VTCL)
-- return widget name in a menu created by VxMenu
-
VxOptionMenu(VTCL)
-- return option list that contains pushbuttons for specified options
-
VxOptionMenuGetSelected(VTCL)
-- return label of selected item in an option menu created by VxOptionMenu
-
VxOptionMenuReplaceOptions(VTCL)
-- dynamically change specified options in an option menu created by VxOptionMenu
-
VxOptionMenuSetSelected(VTCL)
-- set option menu's value to value referring to the label of the selected pushbutton
-
VxRadioBox(VTCL)
-- create a RadioBox widget allowing titles and labels, return widget name
-
VxRowColumn(VTCL)
-- create a VtRowColumn widget allowing titles and labels, return widget name
-
VxSetLeftOffsets(VTCL)
-- set left offset of right-aligned widgets
-
VxSetVar(VTCL)
-- set value of variable and associate with specified widget
-
VxSpinButton(VTCL)
-- create a SpinButton, return widget name of enclosing form widget
-
VxSpinButtonSetMaxValue(VTCL)
-- set upper boundary for a spin button
-
VxSpinButtonSetMinValue(VTCL)
-- set lower boundary for a spin button
-
VxText(VTCL)
-- create a VtText widget allowing titles and labels, return widget name
-
VxWidgetVarRef(VTCL)
-- return a reference for per-widget variable frames variable