Constructor
                        
                        
    
    # new DuScriptPanel()
Properties:
| Name | Type | Description | 
|---|---|---|
| settingsGroup | Group | The ScriptUI group where to add the UI for the settings of the script. | 
| mainGroup | Group | The ScriptUI group where to add the main UI of the script. | 
| onApplySettings | DuScriptPanel~onApplySettings | Called when the apply settings button is clicked. | 
| onResetSettings | DuScriptPanel~onResetSettings | Called when the reset (default) settings button is clicked. | 
Extends
Members
Group
    
# content
    The ScriptUI group where the new controls must be added. Do not add any control directly inside the DuPanel.
- Inherited From:
Methods
# addCommonSettings()
        Adds some settings common to all scripts (the file, highlight color, languages...)
    
    
# refreshUi(file) → {boolean}
        A function to reload a script in this panel.
    
    
    Parameters:
| Name | Type | Description | 
|---|---|---|
| file | File | The script to reload. | 
- Inherited From:
true on success, false otherwise.
    
    
    boolean