Difference between revisions of "MGED CMD tie"
(New page: Category:MGED =tie= :: This is a developer command. __TOC__ ==Syntax== :tie ''[[-u] command_window [display_window]] '' ==Argument(s)== : '''-u''' :: Optional. Untie. : '''command...) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:MGED]] | + | [[Category:MGED|Tie]] |
− | + | [[Category:MGED developer commands|Tie]] | |
=tie= | =tie= | ||
:: This is a developer command. | :: This is a developer command. |
Latest revision as of 08:59, 18 November 2009
tie[edit]
- This is a developer command.
Contents
Syntax[edit]
- tie [[-u] command_window [display_window]]
Argument(s)[edit]
- -u
- Optional. Untie.
- command_window
- Optional. Valid MGED Command_window.
- display_window
- Optional. Valid MGED Display_window.
Return Value(s)[edit]
- No Return Values for this command.
Description[edit]
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)[edit]
- 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[edit]
Page Generated by David Loman on: 10/12/2007 at: 7:25:29 AM