general todo: add popup-menues, drawer: change tab before context menu is closed!!
There are several ways to implement gui tabs in mac vim:
Pros:
Cons:
There are two ways this can be implemented:
The segmented view should change its size when the window is resized, if there are a lot of tabs, they should be made smaller so that they are all visible. Alternatively, left/right arrows can be added after a certain minimal tab size (see this page for an example).
It looks like this:

todo: make tabs clickable ( gui_mac_doMouseDownEvent ?),
make tabs smaller if they don't fit otherwise, resize max toolbar size
when window is resized
Pros:
Cons:
It looks like this:

todo: crashes when -p *.h is used (stl=1, close all but the first tab, open new tab) (might be fixed by now, was unable to reproduce this), if the window size is set to a smaller than minmal height with :set lines=10 the display looks really strange, scrollbar flashes black on tab change, context menu close is only applied after mouse move
Use a separate window for each tab. This would be very maccy, but has probably some problems because the windows can have different sizes.
Use this tab control.
Pros
Cons
Other stuff that could be improved in mac vim: