GH_EtoUtil
Methods
Positions a Form so that it is centered around the cursor
Parameters:
| F (Window) | The Form to adjust |
| limitToScreen (bool) | If True, the Form won't be allowed to extend beyond the limits of the screen containing the cursor. |
Positions a Form so that it is centered on the active editor. If the editor doesn't exist or is hidden, the form will be centered on the screen instead.
Parameters:
| F (Window) | The Form to adjust |
| limitToScreen (bool) | If True, the Form won't be allowed to extend beyond the limits of the screen containing the cursor. |
Positions a Form so that it is centered on the current screen. The current screen being defined as the screen containing the cursor.
Parameters:
| F (Window) | The Form to adjust |
| limitToScreen (bool) | If True, the Form won't be allowed to extend beyond the limits of the active screen. |
Positions a Form so that it is centered on the supplied window. If the window doesn't exist or is hidden, the form will be centered on the screen instead.
Parameters:
| F (Window) | The Form to adjust |
| parentWindow (Window) | |
| limitToScreen (bool) | If True, the Form won't be allowed to extend beyond the limits of the screen containing the cursor. |