IWindow

Module: TSUI.UI
Extends: IControl
Exported: Yes

Associated source files:

Description

Defines a window.

Public Properties

CloseButton: UI.IButton;
The close button for the window.
ContentPanel: UI.IPanel;
The content panel that all children should be added to.
DestroyDOMOnClose: boolean;
Whether the window should destroy its DOM when it closes.
MainResizeGrip: UI.IResizeGrip;
The main resize grip for the window.
MainTitleBar: UI.ITitleBar;
The main title bar of the window.
OnClose: TSUI.Events.CloseEvent;
Event fired when the window closes.


Public Methods

DragEnabled(value?: boolean): boolean
Whether dragging to reposition the window is enabled.@retruns The final value of whether dragging is enabled or not.
  • OPTIONAL value: boolean - Whether to enable dragging or not.
  • Returns: boolean -
ResizeEnabled(value?: boolean): boolean
Whether dragging to resize the window is enabled.@retruns The final value of whether resizing is enabled or not.
  • OPTIONAL value: boolean - Whether to enable resizing or not.
  • Returns: boolean -
Title(): string
Gets the title of the window.
  • Returns: string - The title of the window.
Title(value: string): string
Sets the title of the window.
  • value: string - The value to set the title to.
  • Returns: string - The final value of the title of the window.


Last edited Sep 6, 2013 at 8:16 PM by EdwardNutting, version 4

Comments

No comments yet.