The OpenD Programming Language

Window.this

Creates a window. Please note windows are created in a hidden state, so you must call show or loop to get it to display.

  1. this(Widget p)
  2. this(SimpleWindow win)
  3. this(int width, int height, string title)
    class Window
    this
    (
    int width = 500
    ,
    int height = 500
    ,
    string title = null
    )
  4. this(string title, int width, int height)

Meta

History

Prior to May 12, 2021, the default title was "D Application" (simpledisplay.d's default). After that, the default is Runtime.args[0] instead.

The width and height arguments were added to the overload that takes string first on June 21, 2021.