Yes, there is an API for them; it’s part of NSWindow 
<https://developer.apple.com/reference/appkit/nswindow>. The basic tabbing is 
done by default, but there is the option to turn it on/off, get a list of 
tabbed windows, and manually add one to the list.

Saagar Jha

> On Mar 25, 2017, at 23:53, Jens Alfke <[email protected]> wrote:
> 
> 
>> On Mar 25, 2017, at 4:40 PM, Saagar Jha <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Nothing, if I remember correctly. Cocoa should handle window tabs for you.
> 
> Isn’t there an API to manage them? 
> 
> For example, I use the tab bar in SourceTree to group multiple repositories 
> into a single window, but every time I relaunch the app, they reopen as 
> separate windows and I have to group them again. I was assuming there’s an 
> API apps could adopt to be more aware of the tabs and at least be able to 
> restore them.
> 
> —Jens

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to