Get current value.
QxNativeWindow.getDimension();
Set new value.
QxNativeWindow.setDimension(newValue);