# `GSWindowController setDisplayMasterIndex:`

*Instance Method*

Same as `-setMasterIndex:` except that this method accepts indices into the display masters of the currently active glyph view controller.

## Declaration

```swift
func setDisplayMasterIndex(_ masterIdx: UInt)
```

```objc
- (void) setDisplayMasterIndex:(NSUInteger) masterIdx;
```

```python
setDisplayMasterIndex_(masterIdx: int)
```

