WindowCreator

ウインドウスタイルを設定し、ウインドウを生成する役。

Constructors

Methods

  • ウインドウの位置を設定する。

    Parameters

    • x: number

      X座標。

    • y: number

      Y座標。

    Returns this

    this

  • リサイズの可否を設定する。

    Parameters

    • v: boolean

      真の時、リサイズ可能になる。

    Returns this

    this

  • スクロールバーの利用可否を設定する。

    Parameters

    • v: boolean

      真の時、スクロールバーを利用可能にする。

    Returns this

    this

  • ウインドウを表示する。

    Parameters

    • addContents: (ui: Gui) => void

      ウインドウにウィジェットを追加する関数。

    Returns void

  • ウインドウの大きさを設定する。

    Parameters

    • width: number

      横幅[px]。

    • height: number

      縦幅[px]。

    Returns this

    this

  • タイトルバーの表示・非表示を設定する。

    Parameters

    • v: boolean

      真の時、表示する。

    Returns this

    this