# `TabBarControlDelegate shouldDropTabItem:inTabBar:`

*Instance Method*

## Declaration

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

```objc
- (BOOL) shouldDropTabItem:(NSViewController *) tabItem inTabBar:(GSTabBarControl *) tabBarControl;
```

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

