Re: Official sidebar?
Re: Official sidebar?
- Subject: Re: Official sidebar?
- From: Saagar Jha <email@hidden>
- Date: Sun, 26 Mar 2017 14:24:46 -0700
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@hidden> wrote:
>
>
>> On Mar 25, 2017, at 4:40 PM, Saagar Jha <email@hidden <mailto:email@hidden>> 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@hidden)
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:
This email sent to email@hidden