## MQWidget.WindowBase class

A base class for windows.

Super classes: MQWidget.WidgetBase

### Property

get | set | Type | Name | Description
--- | --- | --- | --- | ---
x | x | string | title | a title
x | x | bool | windowFrame | a window frame displaying
x | x | bool | titleBar | a title bar displaying
x | x | bool | canResize | whether a window can resize or not
x | x | bool | closeButton | a close button displaying
x | x | bool | maximizeButton | a maximize button displaying
x | x | bool | minimizeButton | a minimize button displaying
x | x | bool | maximized | a maximized state
x | x | bool | minimized | a minimized state
x | x | MQWidget.ColorI4 | backColor | a background color
x | x | int | alphaBlend | an alpha blend value [0:255]

### Method

Member | Description
--- | ---
addChildWindow | Add a child window.
removeChildWindow | Separate a child window from a parent window.
createHorizontalFrame | Create a horizontal frame.
createVerticalFrame | Create a vertical frame.

addChildWindow(child)
Add a child window.
  Parameters:
  MQWidget.WindowBase | child | - | a child window

removeChildWindow(child)
Separate a child window from a parent window.
  Parameters:
  MQWidget.WindowBase | child | - | a child window

createHorizontalFrame(parent)
Create a horizontal frame.
  Parameters:
  MQWidget.WidgetBase | parent | - | a parent widget
  Return value:
  MQWidget.Frame | - | a horizontal frame

createVerticalFrame(parent)
Create a vertical frame.
  Parameters:
  MQWidget.WidgetBase | parent | - | a parent widget
  Return value:
  MQWidget.Frame | - | a vertical frame