IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
gui_set_position.m
Go to the documentation of this file.
1 %>@ingroup graphicsapi
2 %>@file
3 %>@brief Moves GUI "Northwest" (where Lancaster is)
4 %
5 %> @param hObject
6 function gui_set_position(hObject)
7 if 0
8  position = get(hObject, 'Position');
9  position(1:2) = [0 0];
10  set(hObject, 'Position', position );
11 else
12 % movegui(hObject, 'center');
13  movegui(hObject, 'northwest');
14 end;
function gui_set_position(in hObject)