hwIWindow GetGraphicsWidth
Gets the width of the graphics window.
Syntax
hwIWindow_handle GetGraphicsWidth
Application
Tcl Query
Description
Returns the width of the graphics window in pixels.
Example
hwi OpenStack
hwi GetSessionHandle mySessionName
mySessionName ListMethods
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle pageHandle [myProjectName GetActivePage]
pageHandle GetWindowHandle windowHandle [pageHandle GetActiveWindow]
set width [windowHandle GetGraphicsWidth]
hwi CloseStack
Error
Returns success (the width of window) or an error code.