MGED CMD tie

From BRL-CAD
Revision as of 08:59, 18 November 2009 by Ssd (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

tie

This is a developer command.

Syntax

tie [[-u] command_window [display_window]]


Argument(s)

-u
Optional. Untie.
command_window
Optional. Valid MGED Command_window.
display_window
Optional. Valid MGED Display_window.

Return Value(s)

No Return Values for this command.


Description

The "tie" command is used to create (or untie/destroy with the -u option) an association between a command window and a display window. When there exists such an association, all commands entered from the command window will be directed at the associated display window. The command_window can be specified with MGED to refer to the tty from which MGED was started or an id associated with a Tcl/Tk interface window created with gui. The display_window is specified with its Tcl/Tk pathname. If no parameters are given, a listing of the current command_window/display_window pairs is returned. If only the command_window is given, the display_window associated with command_window is returned. If both parameters are given, the command_window/display_window association is created.


Example(s)

mged> tie my_id .my_display_window
Create the association between my_id and .my_display_window.
mged> tie my_id
.my_display_window
Returns the display window associated with my_id.


mged> tie
{my_id .my_window} {mged {}}
List all of the command_window/display_window pairs.

See Also

gui

Page Generated by David Loman on: 10/12/2007 at: 7:25:29 AM