::hwp::GetViewControl

Gets a ViewControl handle of a window.

Syntax

::hwp::GetViewControl

Application

Tcl Query

Description

This procedure implements minus options.

This procedure returns a ViewControl handle of HyperGraph/HyperView/MotionView.

If no page ID is requested, then it operates on the current/active page.

If no window ID is given, then it returns the ViewControl of the active window.

Mandatory Arguments

None.

Optional Arguments

-page "pageID"
The page ID of the requested page.
-window "windowID"
The window ID of the requested window.

Returns

Returns a ViewControl handle of a window.

Example

set viewControlHandle [::hwp::GetViewControl]