File:  [mozdev] / chimera / MJExtendedTabView.h
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sun Mar 3 12:53:10 2002 UTC (16 years, 10 months ago) by macserv
Branches: MAIN
CVS tags: HEAD
Last checkin for the night.  This makes tabs fully usable.  What's left: Menu item validation code.  This will cover all menu items, but most importantly, it will switch the key shortcut for Close Window between cmd+w and shift+cmd+w and Close Tab between blank and cmd+w.

    1: //
    2: //  MJExtendedTabView.h
    3: //  AppKit Extensions
    4: //
    5: //  Created by Matt L.  Judy
    6: //  Copyright (c) 2002 NibFile.com. All rights reserved.
    7: //
    8: //  01/21/2001 Subclass created to fix tabless appearance
    9: //  03/02/2002 Subclass updated for current AppKit state
   10: //  03/02/2002 Subclass extended to automatically hide and show tabs.
   11: 
   12: 
   13: #import <Cocoa/Cocoa.h>
   14: 
   15: 
   16: @interface MJExtendedTabView : NSTabView
   17: {
   18:     BOOL _autoHides;
   19: }
   20: 
   21: //  Behavior: Autohiding overrides the default tab visibility state.
   22: //            To switch back to usual tabView behavior, setAutoHides:NO.
   23: //			  Initial value is read from defaults.
   24: - (BOOL)autoHides;
   25: - (void)setAutoHides:(BOOL)newSetting;
   26: 
   27: @end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>