summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/ToolBox.h
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2013-01-28 16:36:58 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2013-01-28 16:36:58 +0000
commitf9bdbf93887313a79528696607d96140f33cbd84 (patch)
tree2981a41f81daba5c33e7131a30eb61fef42bfa4a /tikzit/src/gtk/ToolBox.h
parentb8c6a1cf4fd38820549976cf5f7b8fffb9b1248d (diff)
Associate utility windows with current main window
This allows the window manager to raise the windows as a group, for example.
Diffstat (limited to 'tikzit/src/gtk/ToolBox.h')
-rw-r--r--tikzit/src/gtk/ToolBox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tikzit/src/gtk/ToolBox.h b/tikzit/src/gtk/ToolBox.h
index 87ee225..7076417 100644
--- a/tikzit/src/gtk/ToolBox.h
+++ b/tikzit/src/gtk/ToolBox.h
@@ -19,6 +19,7 @@
#import <gtk/gtk.h>
@class Configuration;
+@class Window;
@protocol Tool;
@interface ToolBox : NSObject {
@@ -29,12 +30,13 @@
GtkWidget *configWidget;
}
-@property (assign) id<Tool> selectedTool;
+@property (assign) id<Tool> selectedTool;
- (id) initWithTools:(NSArray*)tools;
- (void) show;
- (void) present;
+- (void) setTransientFor:(Window*)w;
- (void) loadConfiguration:(Configuration*)config;
- (void) saveConfiguration:(Configuration*)config;