## DuTitleBar()

For use with `DuScriptUI`.
A title bar.
This is not a real class, and cannot be instanciated.
Use `DuScriptUI.titleBar` to create title bar.
The itle bar inherits the `Group` object from ScriptUI and has all of its properties and methods.
Constructor

#### # new DuTitleBar()

##### Properties:

Name | Type | Description
--- | --- | ---
`pinned` | `Boolean` | True when the title bar has been pinned and the corresponding panel should not be hidden.
`onClose` | `DuTitleBar~onClose` | The function to execute when the close button is clicked
`onPin` | `DuTitleBar~onPin` | The function to execute when the pin button is clicked

View Source DuAEF_Duik_api.jsxinc, line 8637

# Type Definitions

#### # onClose()

The function to execute when the close button is clicked

View Source DuAEF_Duik_api.jsxinc, line 8651

#### # onPin(pinned)

The function to execute when the pin button is clicked

##### Parameters:

Name | Type | Description
--- | --- | ---
`pinned` | `Boolean` | Wether the bar has been pin or not

View Source DuAEF_Duik_api.jsxinc, line 8657