remember windows position after restart

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

remember windows position after restart

Philippe Rosay
Dear IJ users,
I’d like to restore the session when re opening Image J, id est windows left
opened when quit to be at the same position on screen. It does not seems to
be an option. Can it be done? Or can I set up somewhere x,y coordinates for
action bar, threshold window, result window etc.. ?
Thanks!
PR
Reply | Threaded
Open this post in threaded view
|

Re: remember windows position after restart

Wayne Rasband
On Jan 11, 2007, at 3:21 AM, Philippe Rosay wrote:

> Dear IJ users,
> I’d like to restore the session when re opening Image J, id est windows
> left opened when quit to be at the same position on screen. It does not
> seems to be an option. Can it be done? Or can I set up somewhere x,y
> coordinates for action bar, threshold window, result window etc.. ?

Currently, only the position of the ImageJ window is remembered.  
Saving other window positions is an item I just added to the "Planned
Features" list at

     http://rsb.info.nih.gov/ij/docs/to-do-list.html

Jerome will need to update the Action_Bar plugin at

     http://imagejdocu.tudor.lu/Members/jmutterer/Action_Bar/

to have it remember its position. He can do this using the Prefs.set()
and Prefs.get() functions described at

     http://rsb.info.nih.gov/ij/plugins/preference-demo.html

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: remember windows position after restart

jmutterer
Dear all,
 currently the actionbars' positions are only remembered when you manually
close their windows. I will try and update the code to remember the new
location when the windows are moved.

Jerome

On 1/11/07, Wayne Rasband <[hidden email]> wrote:

>
> On Jan 11, 2007, at 3:21 AM, Philippe Rosay wrote:
>
> > Dear IJ users,
> > I'd like to restore the session when re opening Image J, id est windows
> > left opened when quit to be at the same position on screen. It does not
> > seems to be an option. Can it be done? Or can I set up somewhere x,y
> > coordinates for action bar, threshold window, result window etc.. ?
>
> Currently, only the position of the ImageJ window is remembered.
> Saving other window positions is an item I just added to the "Planned
> Features" list at
>
>      http://rsb.info.nih.gov/ij/docs/to-do-list.html
>
> Jerome will need to update the Action_Bar plugin at
>
>      http://imagejdocu.tudor.lu/Members/jmutterer/Action_Bar/
>
> to have it remember its position. He can do this using the Prefs.set()
> and Prefs.get() functions described at
>
>      http://rsb.info.nih.gov/ij/plugins/preference-demo.html
>
> -wayne
>