Posted by nomothetis on Thu 3 Jul 03:19 (modification of post by view diff)
report abuse | download | new post
- /*
- * This a the header file for whose implementation is at
- * http://pastebin.com/m27607663.
- */
- #import <Cocoa/Cocoa.h>
- /*
- * The toolbar delegate. This delegate modifies the default behavior of
- * NSToolbar as follows:
- *
- * 1. It adds a search item to the list of available items.
- * 2. It sets up an NSToolbarFlexibleSpaceItem and the custom search item as
- * the default items in the toolbar. This will ensure that the search
- * item is flushed right on the toolbar.
- */
- /*
- * The view containing the toolbar item; custom items contain a separate
- * view that must be created in Interface Builder and linked to an instance
- * of this delegate to be properly loaded.
- */
- IBOutlet NSView * searchToolbarItemView;
- }
- /*
- * See documentation in NSToolbar - delegate methods.
- */
- /*
- * See documentation in NSToolbar - delegate methods.
- */
- /*
- * See documentation in NSToolbar - delegate methods.
- */
- willBeInsertedIntoToolbar:(BOOL)flag;
- @end
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.