Specify the initial size of the parent container window.


   w INTEGER )
  1. h is the initial height of the main window.
  2. w is the initial width of the main window.


Use the ui.Interface.setSize() class method to define the initial size of the parent container window of a window container application. The parameters can be integer or string values.

By default, the unit is the character grid cells, but you can add the px unit to specify the height and width in pixels.

The setSize() method can also be used to configure the size of the main window when using traditional mode, as a replacement for the fgl_setsize() built-in function.

Call the method at the beginning of the program, before any interactive instruction.