enthought / enthought/traitsui

Get window position (x, y)

Open
#1,764 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

I am trying to find the x, y position of a window during runtime when running code very similar to this example: https://docs.enthought.com/mayavi/mayavi/auto/example_mlab_traits_ui.html#example-mlab-traits-ui

I noticed I can access this information via the `view` object, however this seems to be deleted when I try to access it during runtime. Is there any way to 1) get the position of the window, and 2) fix the position of the window so it is unmoveable?

Many thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.