X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/51184d8f0f8359c82c46c079d0052cd60c3cfee1..fc20fb5991f57d35d0483a29d8a4c8f7775e7969:/ITTabView.h diff --git a/ITTabView.h b/ITTabView.h index 7f86e74..278238a 100755 --- a/ITTabView.h +++ b/ITTabView.h @@ -3,11 +3,11 @@ * ITTabView * NSTabView subclass which includes convenience features * - * Original Author : Joseph Spiros + * Original Author : Kent Sutherland * Responsibility : Matt Judy * Responsibility : Kent Sutherland * - * Copyright (c) 2002 iThink Software. + * Copyright (c) 2002 - 2003 iThink Software. * All Rights Reserved * */ @@ -16,10 +16,24 @@ * This subclass enables drag-and-drop for tab view items. */ + #import + @interface ITTabView : NSTabView { NSTabViewItem *_draggedTab; + bool _allowsDragging; + unsigned int _requiredModifiers; } + +- (void)setAllowsDragging:(bool)flag; +- (bool)allowsDragging; + +- (void)setRequiredModifiers:(unsigned int)modifiers; +- (unsigned int)requiredModifiers; + +- (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index; + + @end