# `TabBarControlDelegate shouldDragTabItem:fromTabBar:`

*Instance Method*

## Declaration

```swift
optional func shouldDragTabItem(_ tabItem: NSViewController, fromTabBar tabBarControl: GSTabBarControl) -> Bool
```

```objc
- (BOOL) shouldDragTabItem:(NSViewController *) tabItem fromTabBar:(GSTabBarControl *) tabBarControl;
```

```python
shouldDragTabItem_fromTabBar_(tabItem: NSViewController, tabBarControl: GSTabBarControl) -> bool
```

