Hi Wei,
There is nothing in ROOT allowing to select the display on which the canvas is displayed.
You could try to move your canvas to the other screen this way:
TCanvas *c = new TCanvas("c", "a canvas");
((TRootCanvas*)c->GetCanvasImp())->Move(gClient->GetDisplayWidth()+10,50);
Or (depending on your screen resolution):
((TRootCanvas*)c->GetCanvasImp())->Move(1500,50);
Cheers, Bertrand.
-----Original Message-----
From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of wxie
Sent: 09 June 2011 19:03
Cc: roottalk (Mailing list discussing all aspects of the ROOT system.)
Subject: [ROOT] how to place the canvas in the extended display
I have two terminals connect to the laptop running win7. One is the main
display and the other one is the extended display. When running ROOT,
the canvas always pop-up into the main display. Is it possible to
configure it such that it automatically goes into the extended display?
Thanks
--Wei
Received on Fri Jun 10 2011 - 09:35:49 CEST
This archive was generated by hypermail 2.2.0 : Thu Dec 22 2011 - 23:50:02 CET