lm_shiftrank
Change the rank of a frame. The function uses uses userdata
stored in object from which function was called.
CALL:
hchange = lm_shiftrank(option, resize)
INPUT:
option:
string with shift direction, possible values:
- 'up' increase rank of frame
- 'down' decrease rank of frame
resize:
boolean, if true call lm_resize afterwards
OUTPUT:
hchange:
array of modelit.layout.Frame whose position have changed.
NOTES:
If the 'splithor' property of the parent frame is set to true
this causes the frame to move to the left or right or
up or down if this property is set to false
APPROACH:
The handle of the frame for which the rank must be changed must be
stored in the userdata field of the uicontrol whose callback is
executed.