set location and size of next image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

set location and size of next image

Christian Tischer
Hello,

i was wondering whether there is a way to set both the size and location of
the next image.

i can set the location like this:

iw = ImageWindow("")
iw.setNextLocation(x,y)
imp.show()

but i don't know how to set the size *before* opening.

i can do it afterwards, but that is a bit slow...
iw = ImageWindow(imp)
iw.setLocationAndSize(x,y,size,size)
basically i guess i'd need a

iw.setNextLocationAndSize(x,y)

:-)

Thanks, Tischi

_____________________________
*Dr. Christian Tischer*
Advanced Light Microscopy Facility
EMBL Heidelberg
Meyerhofstr.1
D - 69117 Heidelberg
Phone +49(0)6221 387-8951
www.embl.de/almf

_____________________________
*Dr. Christian Tischer*
Advanced Light Microscopy Facility
EMBL Heidelberg
Meyerhofstr.1
D - 69117 Heidelberg
Phone +49(0)6221 387-8951
www.embl.de/almf

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html