Welcome to iraf.net Monday, May 06 2024 @ 10:35 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 window position
   
rjvo
 05/09/2010 03:54PM (Read 1465 times)  
+++++
Active Member

Status: offline


Registered: 04/21/2007
Posts: 134
How to put a window in a fixed screen position (some kind of "geometry")?
I would like to have this possibility for
gkimos
and
display ... # r-key etc.
Thank you for any sugestion.

 
Profile Email
 Quote
fitz
 05/09/2010 03:54PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
XGterm/Xterm and XImtool/DS9 all take a '-geometry' flag that can be used to position a window on the screen. If you want to position the plot window of an XGterm you can use the '-G' flag or the '%<geom>' option (e.g. "xgterm %320x640+100+100").

 
Profile Email
 Quote
rjvo
 05/09/2010 03:54PM  
+++++
Active Member

Status: offline


Registered: 04/21/2007
Posts: 134
The situtation is like this:I am in IRAF (ecl), I do
[code:1:fe82b2af71]display img 1
imexam img 1
[/code:1:fe82b2af71]
and the plot window appears in an uncontrolled position.
Then I do
[code:1:fe82b2af71]gkimos archive
[/code:1:fe82b2af71]
and the plot winodw appears also in an uncontrolled position.I would like to set fixed the plot window position for both cases in a controlled way, as
[code:1:fe82b2af71]!xgterm -geometry +0+300
[/code:1:fe82b2af71]
Thank you for any help.PS
setting geometry in imexam.graphics="xgterm -geometry..." does not help.

 
Profile Email
 Quote
fitz
 05/09/2010 03:54PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try starting the XGterm with either[code:1:15f40745d4]
xgterm -G +0+300 or xgterm %+0+300
[/code:1:15f40745d4]IRAF has no way to control the window positioning, this is all done in how you start the graphics/display applications (i.e. the xgterm or the ximtool window) outside of IRAF and before you login to the CL.

 
Profile Email
 Quote
   
Content generated in: 0.16 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login