Creates a new transparent Palette.
"palettes_var" is a variable referencing a Palettes object.
|
"palettes_var" is a variable referencing a Palettes object.
|
Type | Description |
Palette | Returns the newly created palette or null in the case the creation failed. |
Name | Type | Description |
id | string | The unique id for this palette. The id must be unique with respect to all of the palettes. |
name | string | The displayed name of this palette. This is the name visible in the user interface. |
htmlFileURL | string | Specifies the URL to the HTML file that will be displayed in the palette. This can be a local file or on the web. |
isVisible | boolean | Specifies if the palette is initially visible or not. It's useful to create it invisibly, change other desired properties and then use the isVisible property to finally make it visible to the user. |
showCloseButton | boolean | Specifies if a "Close" button should be displayed on the palette to allow the user to easily close it. |
isResizable | boolean | Specifies if the palette can be resized by the user or not. |
isOpaqueWhenUndocked | boolean | Specifies if the palette will be transparent when docked and opaque when undocked. This is an optional argument whose default value is False. |
width | integer | Specifies the width of the palette in pixels. If no width is specified a default width will be used. This is an optional argument whose default value is 200. |
height | integer | Specifies the height of the palette in pixels. If no height is specified a default height will be used. This is an optional argument whose default value is 200. |