X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/51184d8f0f8359c82c46c079d0052cd60c3cfee1..3dbcf6ca4d5e5e9f192b8238a82fbcc6e8099d6f:/ITTabView.h diff --git a/ITTabView.h b/ITTabView.h index 7f86e74..5b4795a 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,20 @@ * This subclass enables drag-and-drop for tab view items. */ + #import + @interface ITTabView : NSTabView { NSTabViewItem *_draggedTab; + bool _allowsDragging; } + +- (void)setAllowsDragging:(bool)flag; +- (bool)allowsDragging; + +- (void)moveTab:(NSTabViewItem *)tab toIndex:(int)index; + + @end