# `GSFlowSegmentedControl widthForSegment:`

*Instance Method*

## Declaration

```swift
func width(forSegment segment: Int) -> CGFloat
```

```objc
- (CGFloat) widthForSegment:(NSInteger) segment;
```

```python
widthForSegment_(segment: int) -> float
```

