::hwp::GetWindow

Gets a window handle.

Syntax

::hwp::GetWindow

Application

Tcl Query

Description

This procedure implements minus options.

This procedure returns a window 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 active window of the requested (or active) page.

The option "-byHandle" is an exclusive option (no other minus options are allowed).

Mandatory Arguments

None.

Optional Arguments

-page "pageID"
The page ID of the requested page.
-window "windowID"
The window ID of the requested window.
-byHandle "handle"
A handle created with this tool and contains a page and window ID.

Returns

Returns a window handle.

Example

set activeWindowHandle [::hwp::GetWindow]