Resize OS X app window by code?

Is it possible for an OS X build to resize the window to any given dimension via code?

I know there’s native.setProperty() where you can set to minimized/maximized/fullscreen, etc but mainly curious about setting to a specific dimension, like 1280x720…  Thanks.

Not currently.  What’s your use case?

Thanks - just curious…  seen a few other OSX apps allow for it in their settings menus.   They disable resizing and allow resizing to confined 16:9 dimensions…

Ultimately, what I’m trying to do is when the app’s window is resized, to NOT have the content resize.   In other words, keep the content fixed at a specific size and magnification…  all while allowing resize=true in build.settings window properties.

I know there’s native.setProperty() where you can set to minimized/maximized/fullscreen, etc but mainly curious about setting to a specific dimension, like 1280x720…  Thanks.

Not currently.  What’s your use case?

Thanks - just curious…  seen a few other OSX apps allow for it in their settings menus.   They disable resizing and allow resizing to confined 16:9 dimensions…

Ultimately, what I’m trying to do is when the app’s window is resized, to NOT have the content resize.   In other words, keep the content fixed at a specific size and magnification…  all while allowing resize=true in build.settings window properties.