DtclTkDialogPosUnderMouse - Set the initial position of a dialog to be under the mouse

Function

Set the initial position of a dialog to be under the mouse

Description

Given a created dialog, this command will set the position of the dialog such that it is centred on current mouse position.

Language

TCL

Call

DtclTkDialogPosUnderMouse window

Parameters

(">" input, "!" modified, "W" workspace, "<" output)

>windowtk_windowThe name of the dialog top-level window.

Support

Tony Farrell, AAO

Click here for the DRAMA home page and here for the AAO home page.

 For more information, contact tjf@aaoepp.aao.gov.au