# Editor.Widget.SetStylesheetFile

```csharp
void SetStylesheetFile(string filename)
```

Set a file to load CSS for this widget from.

### Parameters

- `filename` (`string`)

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
