I can place a TCanvas using the ->SetWindowPosition method, or in the constructor. With multiple monitors set up, it seems (0,0) is the top-left of the toppest-leftest monitor. I would like to place the TCanvases in a specific monitor for viewing.
I guess I need to query the OS for where the monitor pixel boundaries are, but I couldn’t find the right method in TSystem or TROOT.
I found this exchange which talks about gClient->GetDisplayWidth() and GetDisplayHeight(): https://root.cern.ch/root/roottalk/roottalk11/0752.html
and while this works, it doesn’t tell me the individual monitor resolutions.
The support for dual screens on Windows has been added recently and is not a full support of multiple screens with their own resolution, and there is no plan to support this on Windows…
Thanks. I am on Linux anyways. I ended up just hardcoding the pixel coordinates that correspond to my desired monitor, as this is unlikely to change often, and it’s just a convenience to not have to move the TCanvas windows with the mouse every time.
J-F