Cogl.Onscreen.prototype.get_resizable

function get_resizable(): Cogl.Bool {
    // Gjs wrapper for cogl_onscreen_get_resizable()
}
  

Lets you query whether onscreen has been marked as resizable via the Cogl.Onscreen.prototype.set_resizable api.

By default, if possible, a onscreen will be created by Cogl as non resizable, but it is not guaranteed that this is always possible for all window systems.

<note>If cogl_onscreen_set_resizable(onscreen, true) has been previously called then this function will return true, but it's possible that the current windowing system being used does not support window resizing (consider fullscreen windows on a phone or a TV). This function is not aware of whether resizing is truly meaningful with your window system, only whether the onscreen has been marked as resizable.</note>

Since 2.0

Returns

Returns whether onscreen has been marked as resizable or not.