File:  [mozdev] / chimera / NSToolbarAdditions.h
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 26 11:49:01 2002 UTC (17 years, 7 months ago) by macserv
Branches: MAIN
CVS tags: HEAD
Checking in the underlying prefs structure, and a prefPane, also fir structural integrity.  Also including a couple categories to extend a couple Cocoa objects, and some project changes to support building with the bundled prefPanes.  Also, added a contrib directory to house user contributed artifacts.  To come soon: more prefPanes, and the colorized icon store, with pref-generated notifications to be picked up by toolbars.

    1: #import <AppKit/NSToolbar.h>
    2: 
    3: @interface NSToolbar (NSToolbarCustomizableAdditions)
    4: - (BOOL) alwaysCustomizableByDrag;
    5: - (void) setAlwaysCustomizableByDrag:(BOOL) flag;
    6: 
    7: - (BOOL) showsContextMenu;
    8: - (void) setShowsContextMenu:(BOOL) flag;
    9: 
   10: - (unsigned int) indexOfFirstMovableItem;
   11: - (void) setIndexOfFirstMovableItem:(unsigned int) anIndex;
   12: @end

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