aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PSMTabBar/PSMTabBarControl.h
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2010-09-15 15:48:29 +0000
committeravenjamin <avenjamin@gmail.com>2010-09-15 15:48:29 +0000
commit42b58dcdda0c82473bfed4df8211c6f0f343c6fc (patch)
tree41305c83699d6c5f66de9050c1b28aea12590701 /Frameworks/PSMTabBar/PSMTabBarControl.h
parent0909c91b7f986dfe45600bbb6340c79401ccce47 (diff)
downloadsequelpro-42b58dcdda0c82473bfed4df8211c6f0f343c6fc.tar.gz
sequelpro-42b58dcdda0c82473bfed4df8211c6f0f343c6fc.tar.bz2
sequelpro-42b58dcdda0c82473bfed4df8211c6f0f343c6fc.zip
More work on tab creation target and action
Diffstat (limited to 'Frameworks/PSMTabBar/PSMTabBarControl.h')
-rw-r--r--Frameworks/PSMTabBar/PSMTabBarControl.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/PSMTabBarControl.h b/Frameworks/PSMTabBar/PSMTabBarControl.h
index d734f3c8..2ac8474a 100644
--- a/Frameworks/PSMTabBar/PSMTabBarControl.h
+++ b/Frameworks/PSMTabBar/PSMTabBarControl.h
@@ -89,6 +89,8 @@ enum {
BOOL _allowsBackgroundTabClosing;
BOOL _selectsTabsOnMouseDown;
BOOL _createsTabOnDoubleClick;
+ id _createNewTabTarget;
+ SEL _createNewTabAction;
// vertical tab resizing
BOOL _allowsResizing;
@@ -136,6 +138,12 @@ enum {
- (void)setHideForSingleTab:(BOOL)value;
- (BOOL)showAddTabButton;
- (void)setShowAddTabButton:(BOOL)value;
+
+- (id)createNewTabTarget;
+- (void)setCreateNewTabTarget:(id)object;
+- (SEL)createNewTabAction;
+- (void)setCreateNewTabAction:(SEL)selector;
+
- (NSInteger)cellMinWidth;
- (void)setCellMinWidth:(NSInteger)value;
- (NSInteger)cellMaxWidth;
@@ -152,8 +160,8 @@ enum {
- (void)setAllowsResizing:(BOOL)value;
- (BOOL)selectsTabsOnMouseDown;
- (void)setSelectsTabsOnMouseDown:(BOOL)value;
-- (BOOL)doubleClickCreatesTab;
-- (void)setDoubleClickCreatesTab:(BOOL)value;
+- (BOOL)createsTabOnDoubleClick;
+- (void)setCreatesTabOnDoubleClick:(BOOL)value;
- (BOOL)automaticallyAnimates;
- (void)setAutomaticallyAnimates:(BOOL)value;
- (BOOL)alwaysShowActiveTab;