DtclTkDialogCentre - Set the initial position of a dialog to the centre of the

Function

Set the initial position of a dialog to the centre of the current screen.

Description

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

Language

TCL

Call

DtclTkDialogCentre 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@aao.gov.au