The Interface class / ui.Interface methods |
Specify the initial size of the parent container window.
ui.Interface.setSize( height INTEGER, width INTEGER )
Use the ui.Interface.setSize(height,width) class method to define the initial size of the parent container window of an 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 of fgl_setsize() built-in function.
Call the method at the beginning of the program, before any interactive instruction.